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
remove selected rows printer friendly version
next newest post | next oldest post
Author Messages
ranjanjha
Private

Gender: Male
Location: Virginia
Registered: Jun 2004
Status: Offline
Posts: 9

Click here to see the profile for ranjanjha Visit http://www.jax.org Send email to ranjanjha Send private message to ranjanjha Find more posts by ranjanjha Edit or delete this message Reply w/Quote
Posted Friday, October 8, 2004 @ 16:07:20  

How do you remove highlighted rows from the table?

Thanks,
Ranjan

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, October 8, 2004 @ 19:50:54  

Please read the API documentation.

You can use
dbTable.clearSelection()

ranjanjha
Private

Gender: Male
Location: Virginia
Registered: Jun 2004
Status: Offline
Posts: 9

Click here to see the profile for ranjanjha Visit http://www.jax.org Send email to ranjanjha Send private message to ranjanjha Find more posts by ranjanjha Edit or delete this message Reply w/Quote
Posted Monday, October 11, 2004 @ 07:44:03  

No, I don't want to deselect rows using clearSelection() function. I want to remove the rows from the interface and I found that delete(int[] rows) does the job.

[Edit by ranjanjha on Monday, October 11, 2004 @ 09:02:00]

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 Monday, October 11, 2004 @ 10:22:15  

Even a better way, is to use delete() method, which deletes the currently selected rows.
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