i have a flat data table with multiple columns. I want to user to save the table along with the filtering and sorting applied. i.e, user access the table apply some column filtering and sorting and then save the table. The save button is enabled only if user make some changes to table. I can get filtering changes event using reportchange event, but how can i get an event handler when user applies sorting.
I tried aftergriddraw. It triggers an event when the user applied sorting but it is also triggered when the page containing the table is loaded. So i cannot decide if user has made any changes as it is triggered when grid loads for the first time when user has not made any changes
Thank you for posting your question.
We’ve managed to reproduce similar
reportchange behavior on our side – the event is not triggered when sorting is changed in the flat grid layout.
Our team will take a deeper look at this and provide a fix with our upcoming release ETA Nov 2nd.
Please let us know if there is anything else we can help you with in the meantime.