• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple selection in JTable

 
chaitanya bh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i had a problem in selecting mutiple rows. if we select 3 or 10 rows with Ctrl+A and Mouseclick when we select the 4th or 10th row it is deselecting the remaining rows. can any one help me
 
Cp Baherwani
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not get the question completely. You press Ctrl+A to select all the rows, then how do you need a mouse click to select the 4th row?

If your question is that you selected some rows and need to add the 4th row to the selected rows then:
Hold the Ctrl down when you click on the 4th row to add it to current set of selected rows.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic