Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

colspan with datatable

843842May 16 2006 — edited May 18 2006
Hello,

I've got a problem about the datable.

I have to build a table containing several columns and several lines. Some of the lines (not headers or footers) must merge the whole of the columns in only one column (like the attribute colspan in HTML), which I do not manage to carry out.

The goal is to generate lines which are used as regrouping (lines �Topic 1� and �Topic 2� in the following example):

Topic 1
Channel A | data 1 | data 2 | data 3 | �
Channel B | data 1 | data 2 | data 3 | �
Channel C | data 1 | data 2 | data 3 | �
Topic 2
Channel A | data 1 | data 2 | data 3 | �
Channel B | data 1 | data 2 | data 3 | �

Currently, I dynamically build the table in the Java code because I don't know the number of columns. The table of the jsp page is thus related to UIData by the attribute "binding".

Is somebody has a track ?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 15 2006
Added on May 16 2006
2 comments
178 views