voyent
Align ice:tree row into columns  XML
Forum Index -> Components
Author Message
atomz4peace

Joined: 20/Nov/2006 00:00:00
Messages: 121
Offline


I couldn't find this on the forum so just send me there if it's been answered.

I'm trying to make a tree component. No problem there. But each row/leaf of the tree needs to have a few elements, like the label, a checkbox, etc...

So I'm trying to align the elements from each tree row so that it looks like a table. My ideal end state would be a table but expandable and the look and feel of a tree. Something like:

NODE1
Element1 Details Box
Element2 Details Box

NODE2 Details Box
etc...

What needs to happen is the Details and Box (checkbox) need to be aligned for every tree entry, just like as if it was in a table. Because the component does one line at a time I didn't see a way to link it with a table.

Is there any way to achieve the same effect? Kinda like an expandable, indenting table?

Thanks!
Jim


michael.thiem


Joined: 04/Jun/2007 00:00:00
Messages: 704
Offline


Hi Jim,

did you already have a look at the expandable table demo of the component showcase?

If this isn't what you need, maybe the TreeTable component of the Tomahawk
component suite fits your needs: MyFaces Tomahawk

MyFaces can be used with ICEfaces, but there will also be an ICEfaces
TreeTable component in the future.

Best regards,
Michael
nickarls

Joined: 14/Nov/2006 00:00:00
Messages: 282
Offline


michael.thiem wrote:

MyFaces can be used with ICEfaces, but there will also be an ICEfaces
TreeTable component in the future.
 


A TreeTable would be nice. Is till still on the agenda?
philip.breau


Joined: 08/May/2006 00:00:00
Messages: 2989
Offline


There's now an example of how to build a Tree Table from the <ice:dataTable/> available here.
Philip

.
 
Forum Index -> Components
Go to:   
Powered by JForum 2.1.7ice © JForum Team