PDA

View Full Version : Keep selecton on Store update



art0rz
15 Mar 2010, 2:38 PM
First of all, I would like to say this is an excellent UI library for JavaScript.

I have a DataGrid with a Store that automatically updates every few seconds. The user can select multiple items in the grid, and click a few buttons that send different commands with a special identifier to a backend. However when the user has an item or more selected, and the Store updates and draws new items, it loses the selection. This is quite annoying when the store updates every 5-10 seconds.

Is there a way to keep the selection when new items are drawn?