Hi, I am using the AJAX data source for grid which is great since I don't have to requery for filter, sort, and paging functions. However, if the grid could use this same datasource for the filter autocomplete feature, I would greatly appreciate it because right now the grid is re-hitting the datasource for this.
Hello,
You can use a shared dataSource so multiple widgets use the data provided for it. This way the DataSource will initialize only one request for the data and it can be displayed in multiple components. The example below shows how a DataSource can be used by a Grid and AutoComplete:
https://demos.telerik.com/kendo-ui/datasource/shared-datasource
Regards,
Viktor Tachev
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/.
I strongly agree with this. Actually it did not happen in previous version (I confirm with v2014.2.903) but the behavior seems to be changed by the recent version up. The problem is that if there are 5 AutoComplete widget in a grid, 5 new dataSources will be initialized additionally and 5 more server requests are sent to the server. I think this is completely waste of resource. There should be the option to let AutoComplete widget reuse the dataSource of the parent grid like the older version. I hope this request would be accepted and added in near future version. Thanks.