Hi,
I'm trying out a grid with about 50 rows, with scrolling and no paging. The grid displays 15 rows and user has to scroll vertically to see the rest.
When the grid first displays, it naturally goes to the top of the grid displaying rows 1 through 15. Say if depending on some other action from the user, I need to have to grid "position" itself so that row 45 is visible. In other words, somehow scroll the grid in code so that when the grid first displays, row 45 is visible immediately without user having to scroll to it. What's the best way to achive this?
Thanks.
Barry
I'm trying out a grid with about 50 rows, with scrolling and no paging. The grid displays 15 rows and user has to scroll vertically to see the rest.
When the grid first displays, it naturally goes to the top of the grid displaying rows 1 through 15. Say if depending on some other action from the user, I need to have to grid "position" itself so that row 45 is visible. In other words, somehow scroll the grid in code so that when the grid first displays, row 45 is visible immediately without user having to scroll to it. What's the best way to achive this?
Thanks.
Barry