Header data alighnment


This is my column config.


Here I am getting all cell data as center align. But Header and attach Header data are left align.

Why header data are not center align?

the align attribute control align of data cells and doesn’t affect cells in header.
You can change align of cell headers by changing related style in dhtmlxgrid.css

div.gridbox_light table.hdr td { // <= light is skin name
    text-align:left; // <= can  be changed to any necessary value

Same will work for any other skin as well.