Inserting dynamic columns into <p:summaryRow>
Posted: 08 Dec 2017, 15:19
I have a datatable with dynamic columns, and i'm using <p:columns> to list 'em.
Here's a screenshot of what the table looks like:
The first column and the last column are fixed (same thing applied in the summary row), and the three columns in the middle are dynamic columns according to a value list.
In the summary row, the middle column is supposed to be replaced with dynamic columns, the same coming from the value list in the datatable.
I want it to look like this:
The problem is: i haven't found a way to insert dynamic columns in the summary row. I've tried using <p:columns> again, tried <ui:repeat> but it doesn't worked. Is there a workaround solution for this?
I'm using PrimeFaces 6.1 and Ultima 1.1.
Here's a screenshot of what the table looks like:
The first column and the last column are fixed (same thing applied in the summary row), and the three columns in the middle are dynamic columns according to a value list.
In the summary row, the middle column is supposed to be replaced with dynamic columns, the same coming from the value list in the datatable.
I want it to look like this:
The problem is: i haven't found a way to insert dynamic columns in the summary row. I've tried using <p:columns> again, tried <ui:repeat> but it doesn't worked. Is there a workaround solution for this?
I'm using PrimeFaces 6.1 and Ultima 1.1.