• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stopping of Table Columns Moving  RSS feed

 
vinaya kumar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
How do i prevent my table column moving
i.e i have three columns! a b c...
user can change this b a c also..! that b becomes
the first column..!
how do i stop this..
thanks and Regards
vinaya
 
Joe Gilvary
Ranch Hand
Posts: 152
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
setReorderingAllowed(false) on the JTableHeader.
HTH,
Joe
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!