Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nancy on May 05, 2008 06:54
open dhtmlx forum
Background color- Column Header

Hi,

I need to have background color for column headers as red instead of the default gray. I have tried code like this:

Response.Write "<column width=""100"" type=""ro"" align=""left"" color=""white"" rowspan="" " & RowSpan & " "" colspan="" " &ColSpan &" "">""<![CDATA[<div style=""background-color:red;"">" & sample & "]]></column>"

Column headers are displayed but only the values came with background color not the whole column header. Please suggest how to set background color for whole column header.

Answer posted by Support on May 08, 2008 02:02
You can try to update code in next way
    <![CDATA[<div style=""background-color:red; width:100%;"">