Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by SAMSUNG TECWIN on Nov 25, 2008 18:18
open dhtmlx forum
how to change header text for dhtmlxgrid


i use DHTMLX TREEGRID v2.0 professional

i want to change header text

....like setCellTextStyle()....

want javascript API plz

Answer posted by Support on Nov 26, 2008 01:42
The style can't be changed dynamically, but while defining initial header, you can set it through 3rd parameter of setHeader command

grid.setHeader("a,b,c",null,["text-color:red;","text-color:green;","text-color:blue;"])