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



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;”])