I have a grid on a Tab with 100's of rows. Have also created a section pane just below the grid. OnSelect of any row in the grid will load details on the section pane. Section pane is having a +/- sign to maximize and minimze. The selected row detail will cover half of the grid when its maximized.
Now, I select last row of the current window in the grid with section pane minimized. When i maximize the grid I wanted to scroll the selected row to first row in the current window.
I tried with listGrid.scrollToRow(listGrid.getFocusRow())) .. but it works only for the first time next time the selected record goes further down to the window where i have to scroll down and see.
Is there any other way around ?
Now, I select last row of the current window in the grid with section pane minimized. When i maximize the grid I wanted to scroll the selected row to first row in the current window.
I tried with listGrid.scrollToRow(listGrid.getFocusRow())) .. but it works only for the first time next time the selected record goes further down to the window where i have to scroll down and see.
Is there any other way around ?
Comment