I'd like to render a dataTable which looks somehow like this (eg. with header rows within data rows):
http://livedemo.exadel.com/richfaces-de ... &tab=usage
However I didn't find this "subtable" feature in Primefaces.
I could use TreeTable, and have expandable headers, but then I would loose all the nice features of DataTable (like row selection).
Is there an easy way to emulate "subtable" behaviour within p:dataTable?
Subtable in DataTable?
Ooops, I forgot to search first:
http://primefaces.prime.com.tr/forum/vi ... t=subtable
Anyway, nice reminder not to forget this feature
Thanks!
http://primefaces.prime.com.tr/forum/vi ... t=subtable
Anyway, nice reminder not to forget this feature
Thanks!
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Hi,
I think we'll have this feature in 2.2.1, we've just added grouping;
http://www.primefaces.org/labs/ui/datatableGrouping.jsf
Once the datatable gets stable in 2.2, we can add it subtable easily for 2.2.1.
I think we'll have this feature in 2.2.1, we've just added grouping;
http://www.primefaces.org/labs/ui/datatableGrouping.jsf
Once the datatable gets stable in 2.2, we can add it subtable easily for 2.2.1.
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
I'd like to vote for the subtable feature, but I can't find a feature request in the issue tracker. Should one be created?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
If it doesn't exist, you are welcome to create one.
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
- bumble.bee
- Posts: 723
- Joined: 29 Sep 2010, 21:39
- Location: United States
The prototype is looking good.
Just read, that this is now "fixed"! Great work so far, looks very nice.
Wasn't able to test it on my own, but I have some questions:
- is it possible to toggle some of the subtables?
- is it possible to sort inside of the subtables?
Wasn't able to test it on my own, but I have some questions:
- is it possible to toggle some of the subtables?
- is it possible to sort inside of the subtables?
PrimeFaces 3.2
Mojarra 2.0.2
Glassfish 3.0.1
Mojarra 2.0.2
Glassfish 3.0.1
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
http://t.co/CyQzh1q
1) Nope (I suggest using a regular table with expandable rows to implement that)
2) Only the grouping column as seen in example.
1) Nope (I suggest using a regular table with expandable rows to implement that)
2) Only the grouping column as seen in example.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 35 guests