Aligning Header of Grid in XML

echo “<column width=“112” type=“ro” align=“left” sort=“str” >Price”;

        echo “<column width=“112” type=“ro” align=“left” sort=“str”>Rate”;



above is an example of xml header which i need to align center. I need to align header center irrespective of contents of the row.


The text align of the header cell can be set in the dhtmlxgrid.css.


div.gridbox table.hdr td {

text-align:center;
}



In case of using some skin the class name will be following:


div.gridbox_SKIN table.hdr td { …}




for example for light skin div.gridbox_light table.hdr td