A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Swing / AWT / SWT
How to diable a entire column in JTable?
Joined: Dec 08, 2001
May 24, 2002 07:01:00
I have to make a particualr column non editable. How can I do that?
Joined: May 02, 2002
May 24, 2002 08:01:00
You have to do that in your
. The table model must implement a method public boolean isCellEditable(int row, int col). There you decide weather the cell is editable or not.
It is sorta covered in the
JavaRanch Style Guide
subject: How to diable a entire column in JTable?
HSSF identifying hidden excel column
Strange JDBC PreparedStatements Problem
JTable Column Validation
JTable - Align Column Headers on Left
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013