Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by chs1217 on Nov 16, 2008 18:19
open dhtmlx forum
How to valign in column header??

I know that vertical align method of column is GRID.setColVAlign()

but, I want to align of vertical in the column header.

How to do I ?


Answer posted by Support on Nov 17, 2008 03:40
Default align for column headers defined in dhtmlxgrid.css
If you creating grid by js commands, you can use 3rd parameter of setHeader

grid.setHeader("a,b,c",null,["vertical-align:top;","vertical-align:middle;","vertical-align:bottom;"]);