Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by raj on Jul 09, 2008 06:22
open dhtmlx forum
grid header and attachheader color

Hi,

I am using dhtmlgrid in my application,

where the grid is defined as two level header, so I used setHeader and setAttachHeader functions to implement grid two level header.
Here I need two different colors to be shown in header and attachheader.

Can u please help me to show two different colors in two level header grid?



/Thanks
Raj
Answer posted by Support on Jul 09, 2008 07:26
The color can be set, by using second parameter of attachHeader command

    grid.attachHeader("A,B,C",["background-color:red;","background-color:red;","background-color:red;"]);