Results 1 to 3 of 3
  1. #1
    pos
    pos is offline Member
    Join Date
    Mar 2010
    Posts
    12
    Rep Power
    0

    Default work with jxtable

    hi
    i will use jxtable from swingx library. but i have 2 problem.

    1- how i can disable multi row selection.
    2-how i can disable column moving(user can change column sequence by drag column and move this)

    thanks.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,368
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by pos View Post
    hi
    i will use jxtable from swingx library. but i have 2 problem.

    1- how i can disable multi row selection.
    2-how i can disable column moving(user can change column sequence by drag column and move this)

    thanks.
    1) JTable.getSelectionModel()
    2) JTable.getTableHeader()

    Read the API documentation for both those classes.

    kind regards,

    Jos

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

Similar Threads

  1. Code does not work
    By scotts in forum New To Java
    Replies: 12
    Last Post: 06-19-2010, 09:37 AM
  2. Why doesn't this work?
    By Corder10 in forum New To Java
    Replies: 1
    Last Post: 07-04-2009, 10:33 PM
  3. I need help with my work assig Please
    By tracy-london in forum New To Java
    Replies: 3
    Last Post: 01-04-2009, 05:50 PM
  4. Will this applet ever work?
    By willemjav in forum Java Applets
    Replies: 4
    Last Post: 04-20-2008, 05:40 PM
  5. how would i get this to work...?
    By deeadeed in forum New To Java
    Replies: 6
    Last Post: 12-06-2007, 02:58 AM

Posting Permissions

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