| | | | Browse by category |
Article ID: 2268
Last updated: 29 May, 2018
Question
Is it possible to set the table columns to be non-editable on the Gantt chart?
Answer
You can remove the cell editor that is used by the column that you want to set as non-editable. For example:
IlvJTable table = gantt.getTable();
javax.swing.table.TableColumn column = table.getColumn(indexOfColumn)
column.setCellEditor(null);
You can look at the Gantt Database sample for an example of this technique.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 2268
Last updated: 29 May, 2018
Revision: 3
Views: 689
Posted: 08 Jun, 2010 by
Dean J.
Updated: 29 May, 2018 by
Gargani A.
Also listed in
Others in this category
Powered by KBPublisher (Knowledge base software)