Hello,
I've found this post: http://www.kendoui.com/forums/ui/grid/any-filtering-event.aspx
Is there any other way to receive a filter event or a sort one? Or how to override the logic of sorting/filtering but keeping the styles applied on the grid ?
The reason I need those is the following:
I'm sorting and filtering the data on the server side since it's a server pagination one, but the problem is that I'm not using the DataSource transport method to retrieve it, because it's much more complex. I have lots and lots of configurations that need to be parsed and also data, the data is generic and it's shared among multiple visualization controls and each of them parsing the data correspondingly etc.
So what I need is to catch some filter/sort event, stop the default behavior, call my get data methods, parse the data and reassign it to the data source, but keeping the sorting/ filtering info in the headers of the grid. With the little trick in the post above I've managed to do it, but I don't like it that much especially that in order to keep the filtering/sorting info in the columns headers of the grid, I need to reapply the sorting and filtering on the data source in the client side which I don't like.
Please let me know your thoughts,
Walid
I've found this post: http://www.kendoui.com/forums/ui/grid/any-filtering-event.aspx
Is there any other way to receive a filter event or a sort one? Or how to override the logic of sorting/filtering but keeping the styles applied on the grid ?
The reason I need those is the following:
I'm sorting and filtering the data on the server side since it's a server pagination one, but the problem is that I'm not using the DataSource transport method to retrieve it, because it's much more complex. I have lots and lots of configurations that need to be parsed and also data, the data is generic and it's shared among multiple visualization controls and each of them parsing the data correspondingly etc.
So what I need is to catch some filter/sort event, stop the default behavior, call my get data methods, parse the data and reassign it to the data source, but keeping the sorting/ filtering info in the headers of the grid. With the little trick in the post above I've managed to do it, but I don't like it that much especially that in order to keep the filtering/sorting info in the columns headers of the grid, I need to reapply the sorting and filtering on the data source in the client side which I don't like.
Please let me know your thoughts,
Walid