Reactjs 嵌套标头在HandContable组件上不起作用
我正在使用@handsontable/react组件。我无法为表提供嵌套标题。我不确定这个插件是否支持nestedHeader 这是我的密码Reactjs 嵌套标头在HandContable组件上不起作用,reactjs,handsontable,Reactjs,Handsontable,我正在使用@handsontable/react组件。我无法为表提供嵌套标题。我不确定这个插件是否支持nestedHeader 这是我的密码 <HotTable root="hot" settings={{ data: this.props.data, nestedHeaders: [ ['Header1', { label: 'Header2', colspan: 8 }, 'C'] ],
<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。嵌套头是handsontable PRO的功能。您需要@handsontable pro/react组件。哦,我没有注意到。谢谢你的回答。