Jan 27, 2014, 12:41 PM
[CLOSED] GridPanel with BufferedRenderer: ScrollTo an added row
Hi,
Is it possible to scroll to a row in a buffered gridpanel which is just added and selected?
Idea is the following:
- fill a gridpanel with contents
- add a new row (formpanel with server side code)
- select the new row (server side code)
- scrollto this new row
The new row will not be added at the end of the gridpanel because the data is sorted on one of the fields.
The example https://examples2.ext.net/#/GridPane...red_Scrolling/ shows how to jump to a row number. But I think that when adding a new row the row number is not known. Or is it possible to get the row number directly after adding a new row?
Hans Wapenaar
Is it possible to scroll to a row in a buffered gridpanel which is just added and selected?
Idea is the following:
- fill a gridpanel with contents
- add a new row (formpanel with server side code)
- select the new row (server side code)
- scrollto this new row
The new row will not be added at the end of the gridpanel because the data is sorted on one of the fields.
The example https://examples2.ext.net/#/GridPane...red_Scrolling/ shows how to jump to a row number. But I think that when adding a new row the row number is not known. Or is it possible to get the row number directly after adding a new row?
Hans Wapenaar
Last edited by Daniil; Feb 04, 2014 at 11:35 AM.
Reason: [CLOSED]