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
aaa
anybody help me.
thanks
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
aaa
anybody help me.
thanks
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{
text-align:center;
}
You can use inline html as,
<![CDATA[
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};