Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Kris A on Dec 15, 2008 05:03
open dhtmlx forum
#cspan , need more than 2 sub colums

Hi,

I need a table in the following format:

++++++++++++++
+ Col +
++++++++++++++
+Val1|Val2|Val3|Val4 +
+Val1|Val2|Val3|Val4 +
+Val1|Val2|Val3|Val4 +

#cspan by default gives me only 2 such sub columes with the header. Any ideas?

Thanks,
Kris A

Answer posted by Support on Dec 15, 2008 05:46
If you will use 
    grid.setHeader("Col,#cspan,#cspan,#cspan");

You will have grid with 4 columns, but with a single header cell, same as on above scheme