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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 15662
    
  15

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Richfaces ColumnGrouping Component For dynamic Columns/SubColumns
 
Similar Threads
JSF with Javascript
Can we create a custom component by extending rich:dataTable?
jQuery vs Rico
Rich Faces VS Prime Faces
Display issues with rich:extendedDataTable and rich:column