【问题标题】:Nested Header is not working on Handsontable react component嵌套标题不适用于 Handsontable 反应组件
【发布时间】:2018-12-26 00:42:21
【问题描述】:

我正在使用@handsontable/react 组件。我无法为表格提供嵌套标题。我不确定这个插件是否支持nestedHeader

这是我的代码,

 <HotTable root="hot" settings={{
          data: this.props.data,
          nestedHeaders: [
            ['Header1', { label: 'Header2', colspan: 8 }, 'C']
          ],
          rowHeaders: true,
          columns: this.getColumns(),
          colHeaders: this.getHeaders(),
          mergeCells: this.getDisplaySettings()
        }} />

请任何人建议我,如何在这个 react-handsontable 组件上使用nestedHeader。

【问题讨论】:

    标签: reactjs handsontable


    【解决方案1】:

    嵌套标题是 Handsontable PRO 的功能。您需要@handsontable-pro/react 组件。

    【讨论】:

    • 哦,我没注意到。谢谢你的回答。
    猜你喜欢
    • 2021-11-22
    • 1970-01-01
    • 2018-07-26
    • 1970-01-01
    • 2021-07-26
    • 2020-11-20
    • 2017-03-05
    • 2021-09-15
    • 2020-12-23
    相关资源
    最近更新 更多