i want to change "Header-align" in "XML"

hello friends
i need help, when i loaded an xml in the dhtmlxgrid, i didn’t found “header-align” in xml
i want to change Header-align center

here is my code


anybody help me.

Unfortunately the the header align cannot be defined in the xml.
It can be defined only using setHeader() method or css rules.
for example:
div.gridbox_dhx_skyblue table.hdr td{

You can use inline html as,


It is not possible in XML and I tried setHeader… no luck… so if you want…

{dhtmlxGridobject}.grid.hdr.rows[1].cells[{column number}].firstChild.style.textAlign = {textAlign Value};