Results 1 to 3 of 3
  1. #1
    BLR
    BLR is offline Member
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Thumbs up How to sort a JTable for multiple columns?

    Hi,

    I would like to know how to sort JTable for multiple columns.
    For Example: I click on a column to sort and then i press CTRL and click on another column to sort. Similarly i can do for any number of columns.

    If any one of you have an exposure to this please help.


    Thanks,
    BLR

  2. #2
    fishtoprecords's Avatar
    fishtoprecords is offline Senior Member
    Join Date
    Jun 2008
    Posts
    571
    Rep Power
    6

    Default

    have you looked at glazedlists?
    Glazed Lists

  3. #3
    jquery is offline Member
    Join Date
    Mar 2009
    Posts
    1
    Rep Power
    0

    Default did u get the soltion for multiple column sort

    hi,
    i m also fighitng with the same problem...
    did u got the solution for this.
    if yes,then could you please share this with me...

    it would a gr8 help.
    thanks

    Quote Originally Posted by BLR View Post
    Hi,

    I would like to know how to sort JTable for multiple columns.
    For Example: I click on a column to sort and then i press CTRL and click on another column to sort. Similarly i can do for any number of columns.

    If any one of you have an exposure to this please help.


    Thanks,
    BLR

Similar Threads

  1. How to sort column in JTable
    By johnt in forum AWT / Swing
    Replies: 3
    Last Post: 06-14-2008, 05:48 AM
  2. Replies: 2
    Last Post: 05-15-2008, 10:15 AM
  3. How to sort a list using Bubble sort algorithm
    By Java Tip in forum Algorithms
    Replies: 3
    Last Post: 04-29-2008, 08:04 PM
  4. Using Columns With JTextField
    By The Evil Genius in forum AWT / Swing
    Replies: 1
    Last Post: 03-17-2008, 01:01 AM
  5. sort columns in jtable
    By Alan in forum AWT / Swing
    Replies: 2
    Last Post: 05-14-2007, 05:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •