Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by john on Sep 12, 2008 21:14
open dhtmlx forum
The question about Multiline Headers

I would like to Multiline Headers like http://www.dhtmlx.com/docs/products/dhtmlxGrid/doc/common/footer.gif

However, I fail to make the headers.(one" book" column divided into two columns
and North Region column divided into "price' and "sold" columns. My coding is below:

Thanks a lot.


grid.setHeader("Book Title,Noth Region ,South Region ");

mygrid.attachHeader("Title,Author,price ,sold,price ,sold ");
mygrid.setSizes();
Answer posted by Support on Sep 15, 2008 01:56
There #cspan are missed in your sample. You can try to use the following:

grid.setHeader("Book Title,#cspan,Noth Region,,#cspan,South Region,#cspan");