Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by vikrant on Jul 28, 2009 02:45
open dhtmlx forum
Move scroll bar to view selected item in a tree grid when I select a row by command

Hi,

How can I Move scroll bar to view selected item in a tree grid when I select a row by command. My grid contains 1000 items with
RowId A1,A2,A3 and so on.

If I have to select 300th row, I have written a code grid.selectRowById('A300'). It select a respective row but i have to manually scroll our gris to view whether it is selected or not. Please advise what to do? Its very urgent.

Thanks in advance,Vikrant
Answer posted by dhxSupport on Jul 28, 2009 05:19
Try to use following command instead:
grid.selectRowById('A300',false,true)