The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Is there a way to load data remotely eg. using WebAdaptor, but use local filtering similar to what happens when data is loaded from an array, so that filtering doesn't have a server roundtrip?
VJVinitha Jeyakumar Syncfusion Team December 6, 2022 12:54 PM UTC
Hi Celso,
On remote data binding, every time invoking executeQuery will send request to the server and the query will be processed on server-side. To avoid post back to server on calling executeQuery, you can set the DataManager to load all the data on initialization time and make the query processing in client-side. To enable this behavior, you can use theofflineproperty of DataManager.
Code snippet:
created () {
new DataManager({ url: SERVICE_URI, adaptor: new ODataAdaptor, offline: true }).ready.then((e) => {
this.items = e.result;
});
Thank you Vinitha. Wouldn't offline mode then prevent us from updating data when moving cards between columns?
VJVinitha Jeyakumar Syncfusion Team December 8, 2022 12:48 PM UTC
Hi Celso,
Once we enabled the offline property of Data Manager it will load all the data on initialization time and make the query processing in client-side and it won't update data when moving cards between columns in Kanban.