I have a grid which refreshes periodically. I have implemented functionality which records a users row selection and reinstates is after each refresh.
[Aside: rows are identified by a primary key and may not exist at the same index on refresh so a lookup array is used to convert from pk to index and the latter used with grid.setSelectedRows([index]). All of this is working fine.]
However I can't seem to retain the scroll position separately once a selection has been made: on refresh the vertical scroll position scrolls to the selected row regardless of where it was prior to the refresh.
Can anyone tell me if this is possible, and if so, how?
Thursday, October 5, 2006
You could achieve this by the following one.
grid.setScrollTop(<position of the row>)
Saturday, October 28, 2006
As the above said solution was working in the Beta version. With the Original version It is not working.Mr Pans can you give some solutions?.