Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTable selection problem

 
Thomas Suer
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a problem regarding the selection of table rows. Let's say a table is displaying 10 rows. The table also has a sorting algorithm that gets triggered when the user clicks on a table's column header. For instance the 2nd and 3rd row are selected. When then the sorting order gets changed (by clicking on a table's column header) the selected rows stay the same, that means the 2nd and 3rd row are still selected instead of the previous selected elements.
Does anyone has an idea to solve this problem?
Thanks in advance
Tom
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic