Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Mike Vonder Haar on Oct 01, 2009 11:19
open dhtmlx forum
colpsan and rowspan in header from XML file with SplitAt

Hello,

I am using dhtmlgrid and want to create a table/grid that has 12 columns with a two-row header and columns set in the XML file. I'm using SplitAt on the first two columns.

Header Column setup:
Column 1: Checkbox, Rowspan, SplitAt
Column 2: Read Only, Rowspan, SplitAt
Columns 3-12: Row 1: Read Only, Colspan all 10 columns
Columns 3-12: Row 2: Read Only, 10 separate cells

Can you help me in how I would set this up.

Thank you!
Answer posted by dhxSupport on Oct 02, 2009 08:44
You can use #cspan and #rspan in the header. Please find tutorial here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:header#colspans_and_rowspans_in_header