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


You can use “selected” attribute in XML

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

row with such attribute will be selected after XML loading.