-
楼主
admin 发表于2011年3月7日 上午11:21:30
-
-
- 奇新电子表格控件设置下拉框单元格可编辑
ObjectCellEditor editor = (ObjectCellEditor)dataGrid.getCellManager().getCellEditor(Object.class);
editor.setCellEditorComponentType(CellEditorComponentType.COMBO_BOX);
JComboBox comboBox = (JComboBox) editor.getComponent();
comboBox.setEditable(true);