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/delete and stop column resize printer friendly version
next newest post | next oldest post
Author Messages
amysaarimn{@}netscape.net
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

can you suggest ways to:

1) let a user add/delete a row (so i don't have to hardcode the number
of rows available and make them erase each field if they want to
get rid of a row.
2) prevent the user from re-sizing the column widths

thanks much,
amy

admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Add & deletes are automatically handled by quicktable using the navigation tool bar at the bottom or using the keys INSERT & DELETE. In your UI, you have not created navigation toolbar. Programtically , you can call the methods insertEmptyRecord() or insert(java.util.Vector insertElements) and delete()

to stop users from resizing.
JTable m_table = quicktable.getTable();

//to stop resizing columns
setResizingAllowed(boolean resizingAllowed(false);

//to stop reordering columns
m_table.tableHeader.reOrderingAllowed(false);

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