Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rene on Apr 02, 2009 14:18
open dhtmlx forum
Grab id of first row onload

I need to grab the ID of first row when the grid is loaded with data from an xml file. How can I accomplish this?
Answer posted by dhxSupport on Apr 03, 2009 03:42

You can use following code:

mygrid.loadXML("grid.xml",function(){

var id=mygrid.getRowId(0);

});