craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Events/Actions Post New Topic   Post A Reply
Updating QT without refreshing printer friendly version
next newest post | next oldest post
Author Messages
NoSugar
Unregistered
Edit or delete this message Reply w/Quote
Posted Friday, December 14, 2007 @ 04:48:34  

Hi,

I'have my own undo, redo and save buttons. I save all changes which user makes to qt, and when user presses save button the changes will be made to DB.

When user presses undo button it calls DBTable.setValueAt method. The problem is that QT will not update until user selects the row which setValueAt has effected, or row below the changed row. The qt not updates itself when user selects row above the changed row.

How I get qt to update immediately after setValueAt have been called?

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Friday, December 14, 2007 @ 06:09:53  

try calling dbTable.repaint() after you call setValueAt(), see whether it helps

NoSugar
Unregistered
Edit or delete this message Reply w/Quote
Posted Friday, December 14, 2007 @ 07:15:05  

Thanks! that solved my problem!
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios