example : https://dojo.telerik.com/ESANeZIt
after you open filter column menu on field1 column the list of checkboxes never changes if you fetch new data.
after investigating, i found that itemchange event datasource['_change']({ action: 'itemchange', items: [] }) refreshes grid filters, but this action breaks listviews bound to datasource.
really is difficult to have custom code for every grid in my application and every datasource.data().
can i expect correct behavior ?
4 Answers, 1 is accepted
When filter multi checkboxes are used, they are populated only once, when the respective filtering menu is opened for the first time. This ensures good performance and avoids repetitive and unnecessary HTTP requests. By design, the checkboxes's data is refreshed automatically in the following cases:
- the Grid dataSource is replaced via the setDataSource method
- a Grid data item is added, removed or modified
Below you will find a modified version of the sample where the data is replaced using the setDataSource method and the options of the multi filter are updated accordingly:
Regards,
Georgi
Progress Telerik
Is there a databound event on the multi checkboxes? The dataset that populates the multi checkboxes takes time to load and i want a way to target the Select All option. However, i cannot target it if the options from the checkbox haven't been populated.
Hi Omar,
The multi check filter has a refresh method which is triggered after the checkboxes are populated. Please refer to the following dojo for better understanding:
Does the refresh method work for you?
Regards,
Georgi
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.