dhtmlxgrid header style change with css dynamically


I want to set the header_styles property of setHeader() dynamically with CSS.

Currently header_styles requres background color in the form of string ; Is it possible to provide the values in the form of CSS property

th { /* table headers */

    font-weight: bold;

    color: #003366;

    padding: 0px 0px 0px 0px;



I want to set different background color in different css files and dynamically load it as per requirement.

How is it possible ?

Please Comment.

Thanks In Advance.



You can manipulate with header�s styles via following css stylesheets:
div.gridbox table.hdr td div.hdrcell � for the outer element of the header
div.gridbox table.hdr td � for the inner element of the header