data table dynamic column count

UI Components for JSF
Post Reply
wobblycogs
Posts: 47
Joined: 19 Apr 2010, 19:09
Location: Gloucester, UK

12 Jul 2010, 19:17

Hi,

Is it possible to produce a data table with a dynamic number of columns? I've had a try with ui:repeat but it just ignored the columns that should have been generated by this method.

The columns comprise the customers that take various products and obviously both the product and customer list can change over time.

Many thanks for any help.
PrimeFaces 3.0.1, Mojarra 2.1.3, GlassFish 3.1.1, Netbeans 7.0, Firefox 7

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

12 Jul 2010, 20:08

We'll add p:columns component for this, related ticket:

http://code.google.com/p/primefaces/iss ... ail?id=491

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 20 guests