Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Liverman on Sep 15, 2008 03:47
open dhtmlx forum
The color of column header

Now, I need to have background color for column headers as red instead of the default gray.


do I need to edit coding in dhtmlxgrid.css or dhtmlxgrid_skins.css to change the color ? which part can I edit ?


Thanks a lot.
Answer posted by Support on Sep 15, 2008 09:34
You can modify the following classes in the dhtmlxgrid.css:
div.gridbox .xhdr
and
div.gridbox table.hdr td

But if you use use some skin (for example "modern"),other classes should be modified:

div.gridbox_modern .xhdr
and
div.gridbox_modern table.hdr td

Also, please, have a look at the article in the package: dhtmlxGrid/doc/articles/Creating_custom_skin.html