aspose file tools*
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
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "DHTMLXGrid multiple header colspan issue." Watch "DHTMLXGrid multiple header colspan issue." New topic
Author

DHTMLXGrid multiple header colspan issue.

Rajkamal Pillai
Ranch Hand

Joined: Mar 02, 2005
Posts: 443
    
    1

Hello,

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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DHTMLXGrid multiple header colspan issue.