Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Mike Boota
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Tim Holloway
Bartender
Posts: 18662
71
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!