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 > Events/Actions Post New Topic   Post A Reply
Column Width change event? printer friendly version
next newest post | next oldest post
Author Messages
JustinSkalka
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, February 20, 2008 @ 17:27:51  

When a user clicks and drags to widen or narrow a column width, what is the event that I should be checking for?

--------------------

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 Wednesday, February 20, 2008 @ 22:42:48  

Code:

dbTable.getTable().getColumnModel().addColumnModelListener(new TableColumnModelListener(){

public void columnMarginChanged(ChangeEvent e)
{
// Your code goes here..
}

public void columnSelectionChanged(ListSelectionEvent e){}
public void columnAdded(TableColumnModelEvent e){}
public void columnMoved(TableColumnModelEvent e){}
public void columnRemoved(TableColumnModelEvent e){}
});

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