File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes DHTMLXGrid multiple header colspan issue. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "DHTMLXGrid multiple header colspan issue." Watch "DHTMLXGrid multiple header colspan issue." New topic

DHTMLXGrid multiple header colspan issue.

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 445


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.

Any suggestions?
subject: DHTMLXGrid multiple header colspan issue.
It's not a secret anymore!