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.

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