Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Richfaces ColumnGrouping Component For dynamic Columns/SubColumns

Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ,
i need to implement column group functionality using rich:columnGroup component in richfaces.
but the column group comes dynamically , i.e the group and subgroups are from an .xml file which can have random order of group and subgroups.
but the columnGroup component requires fixed group/subgroups, which i checked in the demo.
is there anyway i can implement this dynamic column grouping feature , either from .java file side or in xhtml side.
please share your suggestions.

Saloon Keeper
Posts: 22492
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can do a lot with the RichFaces "columns" tag as far as dynamically defining columns, but the degree of complexity that you want may exceed what the RichFaces View Definition Language tags can provide. In which case, you'd need to bind the table's UIComponent to a backing bean and use backing bean logic to manually build up the structures you need.
    Bookmark Topic Watch Topic
  • New Topic