aspose file tools*
The moose likes JSF and the fly likes Richfaces ColumnGrouping Component For dynamic Columns/SubColumns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces ColumnGrouping Component For dynamic Columns/SubColumns" Watch "Richfaces ColumnGrouping Component For dynamic Columns/SubColumns" New topic
Author

Richfaces ColumnGrouping Component For dynamic Columns/SubColumns

amarshi mohanty
Ranch Hand

Joined: Jul 01, 2008
Posts: 110
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.


regards,
amarshi


SCJP (97%), SCWCD (95%))
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16068
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Richfaces ColumnGrouping Component For dynamic Columns/SubColumns