Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

trigger event when flat grid table column is sorted or filtered

amir asked on September 30, 2020

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

1 answer

Mykhailo Halaida Mykhailo Halaida Flexmonster September 30, 2020

Hi Amir,
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.
Best regards,

Please login or Register to Submit Answer