PDA

View Full Version : selected row in Grid



coooolmagic
9 Aug 2010, 1:33 AM
hi all

i execute a function based on a row selected in grid. That function performs a server side operations. After that Grid is populated again BUT i need same row to select again so user is aware where was he in the grid.

please suggest the correct approach to achieve this.

Condor
9 Aug 2010, 2:03 AM
In the beforeload event of the store remember the currently selected record id.
In the load event select the row with that record id (if found - it could also be that the record no longer exists).