Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Prasad on Apr 15, 2008 04:32
open dhtmlx forum
Header data alighnment

Hi

This is my column config.

<column width='92' type='ro' align='center' sort='na'>A</column>

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?
Answer posted by Support on Apr 15, 2008 04:56
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.