更新时间:2023-02-12 09:49:36
是的,刷新了网格并且丢失了所有选择.在此代码中库中,您可以了解如何持久选择.
Yes, the Grid is refreshed and any selection is lost. In this code library you can get the idea how to persist the selection.
基本上有一个cookie被使用,但是由于您不重新加载页面,因此可以将其安全地存储到JavaScript变量中.
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.