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

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.