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 > JDBC/Database Issues Post New Topic   Post A Reply
Trying to cath the printer friendly version
next newest post | next oldest post
Author Messages
malvarado{@}classalinfo.com.au
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Hi there:
I have developed a small java "applet" using DBTable.
i am accessing flat database "dbf" files.
Since the nature of these files don't let multiple user
open this flat databases i have developed the applet so
that it reads the database(using DBTable) and then
I used a JTable to store the result by doing "DBTable.getTable"

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

Currently there is no way to catch the sort event. Instead you may try to catch the event from table header,
using the following code. But the only doubt I am having is, whether this method will be called after or
before quicktable sort is called. Just try it and find out.

JTableHeader tableHeader = yourQuickTable.getTable().getTableHeader();

sortMouseListener = new MouseAdapter() {

public void mouseClicked(MouseEvent e)
{

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

The latest QuickTable 2.0.2 version has inbuilt sorting capability, now it won't go back to database. If you never want to go back to database for sorting set the following property as below

dbtable1.doNotUseDatabaseSort = true;

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