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

AbstractTableModel  RSS feed

 
keiyia jackson
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using an this model and am trying to update my table after a submitted query. Everything works except for the table doesn't update. Any suggestions.
 
bishnu panda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After submitting the querry write this
tableModel.fireTableDataChanged() where table model is ur table model.
 
bishnu panda
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After submitting the querry write this
tableModel.fireTableDataChanged() where tableModel is ur table model.
 
keiyia jackson
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It still doesn't put the info in the columns. It gets sufficient row space sjust want put the info in the table.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!