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
add new line on the top of the table printer friendly version
next newest post | next oldest post
Author Messages
infow
Unregistered
Edit or delete this message Reply w/Quote
Posted Sunday, January 29, 2006 @ 08:22:36  

hi,
when i insert a new line, the jtable is slow because he's going on the last record on the table , then had the line under all line.

I would like that the table is inserting the line on the top of the table ...

for exemple, i have 3 lines 1,2,3
when i insert i have 1,2,3,NEW RECORD HERE
and i would NEW RECORD HERE,1,2,3
it i possible ?
thank for your help and have a nice day

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, January 29, 2006 @ 21:59:20  

You can use the following method with row=0 to insert at the top.

DBTable.insert(java.util.Vector insertElements, int row)

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