Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by krajesh on Aug 25, 2008 04:05
open dhtmlx forum
grid


When create grid using header info from xml file at that time how to use alternatecss() function or how to use alternate css in this case.
Answer posted by Support on Aug 25, 2008 05:10
You can call any command from afterInit section 
The next js code 
      grid.enableAlterCss("someA","someB")
can be reflected in XML as
<head>
     <column> header structure here </column>
     <afterInit>
             <call command="enableAlterCss"><param>someA</param><param>someB</param></call>
     </afterInit>