JSF Data Grid Component
Hi,
I have a requirement for a data grid (similar to a data table) in which i can group data on columns. It seems .NET has a similar grid component (infragistics.com). I need to know if there are any open-source/commercial components available for this.
Some advanced commercial grid components have built-in support for automatic client-side grouping of the data. The common UI for these commercial components is to enable the display of a "grouping panel" just above the grid. The end user can drag and drop column titles to the grouping panel and the grid is automatically grouped in a hierarchical manner (client-side or server-side).
If there arent any then how do i go about this problem. Having dropdowns from which the user can select his grouping levels and displaying data is what i'd want to achieve.
Check this link, it has the above implementation for a .NET framework. Is there something on these lines for jsf?
http://samples.infragistics.com/2007.1/contents.aspx?t=WebTabs/CustomerViewer/WebForm1.aspx~srcview.aspx?path=WebTabs/CustomerViewer/WebForm1.src~srcview.aspx?path=WebTabs/CustomerViewer/WebForm1.src
thanks,
Dilip
Message was edited by:
dilip_jsf
[1266 byte] By [
dilip_jsfa] at [2007-11-27 9:22:39]

# 4
Does the component you wrote do a grouping on the client side or server side?
I checked out the myfaces component and they have this property in a t:column named groupBy which takes a boolean.
Anyway i would want to take a look at your component peter. How can i get it?
thanks,
Dilip
# 5
Check out: http://easyweb2.easypay-group.comusername: test@java.sun.compassword: javaYou have access for one day. All the tables, grids are made by this component.Note this is installed on a very slow test server, and located in Belgium.Pieter
# 10
Hi Pieter,
I saw what you had implemented, its sorting of a column. This was not my requirement. I wanted grouping of columns, something like the one in this site http://samples.infragistics.com/2007.1/
Column grouping would not print redundant data, the table will look like this:
Business Unit EmployeeReport
BizUnit 1DilipReport 1
Report 2
PieterReport 3
Report 4
BizUnit 2Jack Report 5
Tarzan Report 6
Report 7
if you notice, under bizunit1 there are 2 employees and each has 2 reports attached to him/her. So this has been grouped on business unit and employee.
Hope i have made my requirements clear.
thanks again,
Dilip
Message was edited by:
dilip_jsf