File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes How to implement DataTable where we can move the columns arround. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "How to implement DataTable where we can move the columns arround." Watch "How to implement DataTable where we can move the columns arround." New topic
Author

How to implement DataTable where we can move the columns arround.

Mike Boota
Ranch Hand

Joined: Jul 18, 2002
Posts: 82
Hi,

I want to implement a functionality where my data is shown in a table. I need to have a sort functionality, pagination functionality and also provide a functionality where users can resize the columns, move arround the columns. Just like windows explorer where we can sort and also move arround the columns. Also need to keep user profiles i.e. next time when a user comes in sees the same arrangement of columns and look & feel. Are there any open-source components I can use if not what is the best way to implement this functionality.

Thanks

[ May 25, 2007: Message edited by: Mike Boota ]
[ May 25, 2007: Message edited by: Mike Boota ]

MB<br />Sun Certified Programmer for Java2 Platform
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 12513

Here's one way:

http://myfaces.apache.org/tomahawk/extDataTable.html

However, if you want a true Windows "drag around the columns" functionality, you really need an AJAX component, since without client-side JavaScript, you can't drag stuff around a browser window.

There are some AJAX JSF components under development, but I'm not up to date on how mature they are.


One of the most odious afflictions that Business has inflicted on the modern English language is "pro-active". Most of the time it's simply redundantly used in place of the simple old word "active". And a good deal of the rest of the time it means "You're not overworked enough yet, so go out and find more!"
 
 
subject: How to implement DataTable where we can move the columns arround.
 
Threads others viewed
Boat extends Car?
how to implement logout functionality?
Fluid Motion Moving Circles Smooth -solved-
Hibernate Issue
Dynamic Form Building using JSP
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com