This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSF and the fly likes tree inside datatable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "tree inside datatable" Watch "tree inside datatable" New topic
Author

tree inside datatable

James Clinton
Ranch Hand

Joined: Jun 23, 2003
Posts: 190
Is it possble to have a tree inside a datatable, something like:

<h:treeColumn>
binding stuff
</h:treeColumn>
<h:column>
normal column stuff
</h:column>

I've tried but without success.

I know apache have a <t:tree> component, but this looks like I'll have to completely change from using the a datatable component.

Anyone have any advice?

Regards, James
Mike Boota
Ranch Hand

Joined: Jul 18, 2002
Posts: 82
Any one I am also trying to do the same. I want to show the data in a table my data is stored in a HashMap where all the values for keys are stored in an ArrayList. How can I show the values in a Tree format.

Thanks


MB<br />Sun Certified Programmer for Java2 Platform
V.N.T.Deepak Solasa
Greenhorn

Joined: May 29, 2007
Posts: 16
Hi
you can find the tree structure in datatable in trinand myfaces.try the same.

regards
Deepak
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tree inside datatable
 
Similar Threads
Submit dataTable fields
Problem with tomahawk Tree Table
RADIO BUTTON WITH ROW IN DATA TABLE
Iterating over hashMap in facelets not working
how to use dataTable without scrolling header