Hello,
In my application (Dynamics 365), I added many Kendo Grid (using TypeScript and C# WCF as Backend). I'd like to implement a general dynamic functionnality of server filtering (because I use paging on read request, so it must be filtered on server side).
Firstly, I'd like to know how to implement exactly a server filtering of data source. In my backend function, I have the DataSourceRequest parameter, I added serverFiltering:true to my DataSource definition in TS. But I think that I miss something here, particularly the filter parameters on the data source (JSON format right?). Something like this:
{ "take":10, "skip":0, "page":1, "pageSize":10, "filter":{ "filters":[ { "field":"Column1", "operator":"eq", "value":"val1" }, { "field":"Column1", "operator":"eq", "value":"val2" }, { "logic":"or", "filters":[ { "field":"Column2", "operator":"eq", "value":5 }, { "field":"Column2", "operator":"eq", "value":1 } ] } ], "logic":"and" }, "group":[ ]}
How it can be done?Should I check if filtering is applied every column of my grid and what is the filter? And I guess that once the filter passed, I will be able to read it on the parameter passed to the backend function (request.Filters).
I'm newbie on Kendo, so I'll appreciate a detailed answer with full example if possible.
Thank you.
Moshe.
