Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by MHW on Nov 27, 2008 14:01
open dhtmlx forum
setHeader vertical-align: sub

Is there any way to set the style of a specific character in the column of grid header.

For example, I want to have a column heading of 'CO2' where the '2' is styles as subscript, perhaps also as a smaller font size.

Thanks
Answer posted by Support on Nov 28, 2008 01:44
You can use any html inside header

mygrid.setHeader("A,B,CO<sup>2</sup>");
Answer posted by MHW on Nov 28, 2008 02:35
Thank you and regards.