Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by udhayabalachandar on Apr 13, 2008 02:47
open dhtmlx forum
How to set Selected Row in the XML itself

How to set the Selected Row in the XML Itself

In javascript we set the selectRow(0) or setSelectedRow(mygrid.getRow(0));

How can we use this 2 in the XML Itself

Thanks and Regards
Udhayabalachandar.C
Answer posted by Support on Apr 14, 2008 02:52
You can use "selected" attribute in XML

 <row id="14" selected="true">
  <cell type="ro"> first column data </cell>
  <cell></cell>
 </row>

row with such attribute will be selected after XML loading.