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 > General QuickTable Support/Help Post New Topic   Post A Reply
My Table model printer friendly version
next newest post | next oldest post
Author Messages
asha_a_v
Unregistered
Edit or delete this message Reply w/Quote
Posted Friday, March 2, 2007 @ 13:34:08  

Can i set a custom table model to quick table?

I was trying to set a default table model to quick table, but it is not taking effect.

Next i have added a Vector of vectors to quick table model.
got successfully displayed.

but when i change the vector elements the table model is not updating ...what is the reason?

Can anyone help me to solve this problem

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 Sunday, March 4, 2007 @ 01:23:02  

after you have loaded data with vector of vectors. If you want to update any cells, use setValueAt() instead of modifying the vector of vectors.

If you really want to change your vector, then you have call refresh() with the new vector of vector.

You don't need to worry about tablemodel, since quicktable will take care of it.

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