remember after refresh selected row in extjs grid
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i have a problem. I use extjs grid. This grid will be refreshed every ** seconds. I refresh with this function: ND.refresh = function () { ND.commList.load(); } var refreshSeconds = refreshRate * 1000; var t = setInterval('ND.refresh()', refreshSeconds); But when someone selected a row to highlight it it reset this selection. How can i remember the selected row and highlight it again after refresh? this is my grid: var grid = Ext.create('Ext.grid.Panel', { autoscroll: true, region: 'center', store: ND.dashBoardDataStore, stateful: true,