Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Ramesh on Nov 22, 2009 08:21
open dhtmlx forum
dhtmlxGrid row attributes as <tr> attributes

Hello,

Is there any option to set the row attributes defined in data XML directly as <tr> attributes in the generated grid.

i.e for data XML

<rows>
<row test="123">
...
</row>
</rows>

normally the generated grid contains <tr _attr="[js obj]"> instead of that we need

<tr test="123">

I don't want it set using script for each row.

Thanks!
Answer posted by dhxSupport on Nov 23, 2009 01:31
Unfortunately there is no such possibility. You can access to the attributes defined in XML only via API. Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:storing_additional_data#attributes