aspose file tools
The moose likes JSF and the fly likes Sub-header in datatable column Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Sub-header in datatable column" Watch "Sub-header in datatable column" New topic
Author

Sub-header in datatable column

ansar basha
Ranch Hand

Joined: Aug 02, 2005
Posts: 34
Hi Guys,

I'm facing problem creating Sub-header in datatable column, something like this.
|-----------------------------|
|main header column |
|-----------------------------|
|sub header-1 | sub header-2 |
|-----------------------------|
|sub data-1 | sub data-2 |
|-----------------------------
Varun Khanna
Ranch Hand

Joined: May 30, 2002
Posts: 1400
One bad solution would be using multiple data tables and use external styles/ divs to manipulate the column / sub column widths.


- Varun
ansar basha
Ranch Hand

Joined: Aug 02, 2005
Posts: 34
Thanks Varun for the suggestion.
What if i have editable table then things get worse,
in that situation it will be very tough to get hook of
full row.
May be we can raise an RFE to extend the datatable to include
this fuctionality.

Other rancher please post your comments if you have resolved
this of problem.

Thanks
Ansar
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Sub-header in datatable column
 
Similar Threads
DataModel in Jsf
Question on how to sort tomahawk datatable
Scroll bar with data table
Display Tag
Adding a Datatable as a row in another Datatable