Posted 12 February 2018, 1:44 am EST
Hey,
I saw that there was an example for dynamic column sets for the FlexGrid in angular, but I cant seem to get the grid columns to correctly render in React.
I have a various set of buttons that change the column sets in state, and then I set that state value to the grid columns.
When I debug the render after a button click to change the column set, the correct state value is set to the grid columns.
Any thoughts?
Thanks,
Brandon
<wijGrid.FlexGrid
autoGenerateColumns={false}
initialized={this.initGrid}
allowDragging={0}
columns={this.state.columns}
itemsSource={dummyMachines}
style={{ height: '600px', width: '100%' }}
/>