I am using DHTMLXGrid on a page where the data is generated dynamically. The other technologies involved are Java/J2EE and Struts. I display an HTML table in the proper fashion and then convert it into a DHTMLXGrid using dhtmlXGridFromTable() passing the id of the table as the argument.
This table has multiple header rows with each having different colspan values. The grid does not respect this and shows the grid with as many columns as the first row resulting in loss of columns which are displayed in the HTML table. I tried differnt approaches. I tried to use a hidden field having the header column values and using attachHeader(). This resulted in an incorrect diplay.