dcsimg
I want to disable the drag and drop proprety for JTabel
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Bhargav_Reddy
Posted On:   Tuesday, January 6, 2004 10:08 PM

hello,


i have a problem in "JTabel". JTable has an option of drag and dropping the columns, that is i can pick a column, for instance 1st column and drop it in 3rd position and i want this action to be disable.


thanks in advance


bhargav

Re: I want to disable the drag and drop proprety for JTabel

Posted By:   Bhargav_Reddy  
Posted On:   Wednesday, January 7, 2004 12:27 AM

the answer for this is:


("table name".getTableHeader()).setReorderingAllowed(false);


bye

About | Sitemap | Contact