Hybrid View
-
7 Oct 2007 5:18 AM #1
How to scroll to a Grid's row (focusRow, scrollTo doesn't work)
How to scroll to a Grid's row (focusRow, scrollTo doesn't work)
Hi,
How can I scroll the grid to a specific row?
I tried the following methods (suggested in this forum) and they didn't work for me:
(In this example, I try to scroll to row number 2).
1. method 1:
2. method 2:Code:grid.getView().focusRow(2);//Error: 'rows[...].childNodes' is null or not an object
Any suggestions?Code:grid.scrollTo(2);//Error: Object doesn't support this property or method
Thanks,
MayaMaya Lincoln
www.processgene.com


Reply With Quote