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:
Code:
grid.getView().focusRow(2);//Error: 'rows[...].childNodes' is null or not an object
2. method 2:
Code:
grid.scrollTo(2);//Error: Object doesn't support this property or method
Any suggestions?
Thanks,
Maya