He wanted to know if possible as it would be very useful to list objects in this way, it would need to list many items.
Thank you very much!
¿Can I use DataTree with DataTable with the same list Obj?
-
- Posts: 23
- Joined: 22 Jul 2010, 22:19
- Location: Argentina - Buenos Aires - Escobar - Ing. Maschwitz
Primefaces-2.1 - GlassFish Server 3.0.1 - Windows 7 Enterprise - Maven
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
What do you mean by DataTree? Is it p:tree?
You can reuse same model on different components for sure.
What do you mean by DataTree? Is it p:tree?
You can reuse same model on different components for sure.
-
- Posts: 23
- Joined: 22 Jul 2010, 22:19
- Location: Argentina - Buenos Aires - Escobar - Ing. Maschwitz
Sorry for the poor explanation, I wanted to say with <p:dataTable> with <p:treeTable>.
That is, the display will show a tree that "is paged".
That is, the display will show a tree that "is paged".
Primefaces-2.1 - GlassFish Server 3.0.1 - Windows 7 Enterprise - Maven
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
p:dataTable requires a list but p:treeTable requires the root TreeNode so they need two different data types.
-
- Posts: 23
- Joined: 22 Jul 2010, 22:19
- Location: Argentina - Buenos Aires - Escobar - Ing. Maschwitz
but, if you wanted to synchronize the list of "DataTable" with the nodes "TreeTable" to show us in one ..no way?
Something like clicking on the "two page" and that the "tree nodes" shows the list associated with the "data table" records?
I can not think how to synchronize the list with the nodes .. the subject if possible?
Something like clicking on the "two page" and that the "tree nodes" shows the list associated with the "data table" records?
I can not think how to synchronize the list with the nodes .. the subject if possible?
Primefaces-2.1 - GlassFish Server 3.0.1 - Windows 7 Enterprise - Maven
-
- Information
-
Who is online
Users browsing this forum: No registered users and 46 guests