kendo ui grid looses selection when bound value ch

2019-08-02 19:39发布

问题:

It seems like the grid widget looses selection when a value that a column is bound to is changed. Does anyone know how to not loose the selection? Example here (select a row then click "click here"): http://jsbin.com/oyuher/1/edit

回答1:

Yes, the Grid is refreshed and any selection is lost. In this code library you can get the idea how to persist the selection.

Basically there is a cookie which is used but since you do not reload the page you can simply safe it into a JavaScript variable.



标签: kendo-ui