Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem on updating the sorted table

 
kwwong wong
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I follow the Sun example on the table sorting. When I update the sorted table, the rows in the Jtable become the un-sorted state. How to solved ?
When I use the setValueAt("object",row, col) to set the sorted table cell, it table will come back to un-sorted status and set the row, col on the un-sorted table!!
 
permaculture is giving a gift to your future self. After reading this tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!