Hi,
I've been looking up in the docs and in the forum, I've made some tests, searched the javadoc, but still couldn't find this one:
Is there a way to know when a grid is told to group by a field, and/or to sort by and/or show and/or freeze another one? I'm looking for the event thrown at those moments.
What I would like to do is to save the grid state. Filters (AdvancedCriteria, no problem), groups, sorting, visible fields and frozen ones.
The best would be to get each event to save the state on the fly. At worst, it would be when the user clics the "save" button, so then we could parse each field and get its visibility, frozen, group, sort states. Can we get those values? I found getFrozen() and getSortDirection(), but not the group and visibility.
Any idea how to do that?
I've been looking up in the docs and in the forum, I've made some tests, searched the javadoc, but still couldn't find this one:
Is there a way to know when a grid is told to group by a field, and/or to sort by and/or show and/or freeze another one? I'm looking for the event thrown at those moments.
What I would like to do is to save the grid state. Filters (AdvancedCriteria, no problem), groups, sorting, visible fields and frozen ones.
The best would be to get each event to save the state on the fly. At worst, it would be when the user clics the "save" button, so then we could parse each field and get its visibility, frozen, group, sort states. Can we get those values? I found getFrozen() and getSortDirection(), but not the group and visibility.
Any idea how to do that?
Comment