Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Tony Fagan on Jan 20, 2010 04:31
open dhtmlx forum
Can I use HTML tags in the attachHeader() command?

Hello,

I am attaching headers to my grid using grid.attachHeader( ), for example:
mygrid.attachHeader("test column 1,test column 2");

However if I try to attach a header which contains HTML tags for example:
mygrid.attachHeader("test column 1,test <span style=\"color:red\">column</span> 2");

then I get nothing displayed in the header at all.

Best regards,
Tony
Answer posted by Alex (support) on Jan 20, 2010 05:24
The provided code looks correct. Please provide the complete grid initialization code that allows to reproduce the issue.