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]
# 1
Anyone there who can point me in the right direction? I really dont know where to search for such custom (commercial or open-source) components.thanks in advance,Dilip
dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I wrote a component myself. But if you don't have time check the myfaces tomahawk library (note only JSF1.1_1) not jet for JSF 1.2
PieterPareita at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
> I wrote a component myself. But if you don't have> time check the myfaces tomahawk library (note only> JSF1.1_1) not jet for JSF 1.2Tomahawk can be used with JSF 1.2.
RaymondDeCampoa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 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

dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 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
PieterPareita at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Hi Pieter,Am not able to login. The button there says 'Send' and not 'Login'You sure that the login and password are right? I need the info asap.thanks,Dilip
dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
Sorry my mistake.Please try again
PieterPareita at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
Hi,working now.But where do i search for the table with column grouping? There are quite a few links and i dont know which one to go for.Dilip
dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 9
Go 4 example to the page Parameter.You will find a link in the header of each colom, by clicking on this link the tabel will be sorted or grouped.
PieterPareita at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 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

dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 11
Oh I see,This is not in my component.
PieterPareita at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 12
The Tomahawk t:dataTable provides the colgroup functionailty.
BalusCa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 13
I checked the tomahawk component too. But grouping on multiple columns does not seem to occur well. Btw how have they done it in that example in infragistics.com, is it possible to do this using AJAX alone?Dilip
dilip_jsfa at 2007-7-12 22:17:12 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...