This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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: 15950
    
  19

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.
 
jQuery in Action, 2nd edition
 
subject: Richfaces ColumnGrouping Component For dynamic Columns/SubColumns
 
Similar Threads
JSF with Javascript
jQuery vs Rico
Can we create a custom component by extending rich:dataTable?
Display issues with rich:extendedDataTable and rich:column
Rich Faces VS Prime Faces