1. How to reload/refresh the kendo-grid after update?
2. How to maintain the state (filter/page number, etc...) after the reload/refresh?
1 Answer, 1 is accepted
0
Accepted
Dimiter Topalov
Telerik team
answered on 26 Feb 2018, 02:30 PM
Hi Bryian,
Manipulating the collection the Grid is bound to (or replacing it with a new one altogether) will result in rerendering the Grid with the latest data.
You can store the Grid state and obtain it from local/session storage, remote service or via any other custom approach, and bind the Grid's pageSize, skip, filter, sort, and group properties to the ones of the saved state object, e.g.:
Note, how on each (dataStateChane) event - filtering, sorting, paging an HTTP request is sent. (check the browser's network tab). When the data is returned it is displayed by the grid.