auto scroll to a select row when virtual mode is on
Hi,
I am facing problem in moving focus to desired row when virtual mode is on.
I've used the following way for getting the desired behavior.
obj.setCurrentColumn('0');
obj.setSelectedColumns(['0']);
obj.setSelectedRows(['200']);
obj.setCurrentRow(200);
As virtual mode is on , only 100 rows are displayed. So above mentioned code is not working for me.
I am getting desired behavior using obj.setScrollTop(100*19) where 19 px is width of a row . I am looking for a better approach.
Please suggest something.
I am facing problem in moving focus to desired row when virtual mode is on.
I've used the following way for getting the desired behavior.
obj.setCurrentColumn('0');
obj.setSelectedColumns(['0']);
obj.setSelectedRows(['200']);
obj.setCurrentRow(200);
As virtual mode is on , only 100 rows are displayed. So above mentioned code is not working for me.
I am getting desired behavior using obj.setScrollTop(100*19) where 19 px is width of a row . I am looking for a better approach.
Please suggest something.
Ritu Sharma
December 7,