Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Peter Ang on Mar 30, 2009 16:29
open dhtmlx forum
Go to Last Row

How do i programmatically go to last row?
Answer posted by dhxSupport on Mar 31, 2009 06:49

To get index of a last row:

var last_index=mygrid.getRowsNum()-1;

To get last row ID:

var last_id=mygrid.getRowId(last_index);

To select row:

mygrid.selectRow(last_id)