text alignment of column headings...

hi there,

is there a way i can change the alignment of the grid’s column headings?

by default the are all left aligned.

please let me know. thanks a lot.

You may use CSS:

div.gridbox_dhx_skyblue table.hdr td{
text-align: center;
}

mygrid.setHeader("col1,col2,col3,col4", null,  ["text-align:center;","text-align:center;","text-align:center;","text-align:center"]);