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.
Inserting dynamic columns into <p:summaryRow>
Forum rules
Please note that response time for technical support is within 3-5 business days.
Please note that response time for technical support is within 3-5 business days.
- IsahannHan
- Posts: 7
- Joined: 23 Oct 2017, 17:28
It seems like using <c:forEach> from http://java.sun.com/jsp/jstl/core repeated the columns instead of <ui:repeat>. Problem solved.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Glad to hear, thanks a lot for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 5 guests