Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Eric on Sep 13, 2009 22:41
open dhtmlx forum
Grid initilization from XML

Hello,

Can certain rows be set to specific colors via XML? I tried to use the <call command ...> tag nested in a <row> element on function setRowColor; would/should this work ... do <call commands...> tags work in the <row> level?

<row>
<call command='setRowColor'><param>1</param><param>Orange</param></call>
<cell>....</cell>
</row>

Thank you.
Regards,
Eric

Answer posted by dhxSupport on Sep 14, 2009 02:42
You should place <call command='setRowColor'><param>1</param><param>Orange</param></call> at the <header> section. Please check this article http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:configuration_from_xml