Posted 7 February 2020, 1:10 pm EST
Hello. I’ve seen other posts about this topic, but none seem to work for me in Reactjs.
I have FlexGrid with a group panel.
After the grid is ready, I’m attaching different handlers. The resizingColumn and sortedColumn handlers work fine, but the groupDescriptions.collectionChanged handled never seems to fire. I’m expecting it to change as I drag or remove columns to the group panel.
grid.resizingColumn.addHandler(grid => {
this.saveGridState();
});
grid.sortedColumn.addHandler(grid => {
this.saveGridState();
});
grid.collectionView.groupDescriptions.collectionChanged.addHandler( grid => {
console.log('group changed');
this.saveGridState();
});
Any ideas? Thanks!