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

String Representation of Filter

1 Answer 54 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elliot
Top achievements
Rank 1
Elliot asked on 21 Dec 2015, 10:19 PM
How can I get (or create) a string of all the filters that are currently applied on the grid?

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 23 Dec 2015, 12:53 PM

Hello Elliot,

 

In general the filter method of the Kendo UI DataSource gets the filter configuration. The returned filter object does have field filters that is array and contains the nested filter expressions applied to the Kendo UI DataSource. A possible way is to iterate through the array and concatenate each filter value. 

 

Regards,
Boyan Dimitrov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Grid
Asked by
Elliot
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or