This is a migrated thread and some comments may be shown as answers.
Datasource server-client mixed filtering
3 Answers 89 Views
This is a migrated thread and some comments may be shown as answers.
Emanuele
Top achievements
Rank 2
Emanuele asked on 28 Jul 2013, 11:49 AM
Can I server side filter a datasource for one field and client filter the datasource for others field ?

Something like this:

filter: {
                            filters: [
                                { field: "showHiddenFiles", value: false, serverFilter: true },
                                { field: "name", value: "mike", serverFilter: false }
                            ]
                        }

3 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 29 Jul 2013, 03:31 PM
Hi Emanuele,

Using different filtering in the DataSource configuration is not a supported functionality. However you can filter the DataSource using the filter configuration, and after that using the Kendo UI API you can apply additional filters later on. 

For your convenience here is a jsBin example which demonstrates a possible implementation.
 
Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Sam
Top achievements
Rank 1
answered on 02 Aug 2017, 06:47 PM
I'm wondering if, in the last 4 years, this feature has been implemented? If not, is there a more modern workaround for it?
0
Stefan
Telerik team
answered on 04 Aug 2017, 11:09 AM
Hello Sam,

Currently, using both server side and client side filtering(and operations in general) is not supported and recommended as it can lead to unexpected issues.

For example, this will create a scenario where the Grid data has to be sorted once on the server and once on the client, causing two rebinds of the Grid and impacting its performance.

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Emanuele
Top achievements
Rank 2
Answers by
Kiril Nikolov
Telerik team
Sam
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or