Inserting dynamic columns into <p:summaryRow>

Forum rules
Please note that response time for technical support is within 3-5 business days.
Post Reply
User avatar
IsahannHan
Posts: 7
Joined: 23 Oct 2017, 17:28

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:

Image

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:

Image

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.

User avatar
IsahannHan
Posts: 7
Joined: 23 Oct 2017, 17:28

14 Dec 2017, 13:40

It seems like using <c:forEach> from http://java.sun.com/jsp/jstl/core repeated the columns instead of <ui:repeat>. Problem solved.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

28 Dec 2017, 09:29

Glad to hear, thanks a lot for the update!

Post Reply

Return to “Ultima - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests