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.