Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTable not movable column  RSS feed

 
Ana Mihailescu
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I am using a JTable to display some data, and
I need that the first column to be not movable/draggable (to keep its first position). Please note that the other columns have to be movable, so the solution with
JTableHeader - setReorderingAllowed(boolean) is not suitable for my case.
I was thinking to make my own TableColumnModel,
but I don't know at all if it is a good idea.
Any sugestion will be very appreciated :-)
Thank you,
Ana
 
chaitanya vashista
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
its a good idea to have a custom tablecolumnmodel for your problem.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!