• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Just the other day, I was thinking ... about this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic