This is a migrated thread and some comments may be shown as answers.

Any filter, sort event ?

2 Answers 116 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Walid
Top achievements
Rank 1
Walid asked on 01 Jul 2013, 03:24 PM
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


2 Answers, 1 is accepted

Sort by
0
Vladimir Iliev
Telerik team
answered on 03 Jul 2013, 01:01 PM
Hi Walid,

 
Basically there is no other way of receiving filter / sort event and also please note that the required behavior will require custom solution which is out-of-scope of our support service as it covers the build-in functionality of the controls only.

Kind Regards,
Vladimir Iliev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Simon
Top achievements
Rank 1
answered on 13 Jun 2014, 02:12 PM
Tags
Grid
Asked by
Walid
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Simon
Top achievements
Rank 1
Share this question
or