|
|
@ -65,6 +65,9 @@ public class EmbeddedTableDataPane extends AbstractTableDataPane<EmbeddedTableDa |
|
|
|
dataJTable.setDefaultEditor(Date.class, new DateEditor(new UIDatePicker(UIDatePicker.STYLE_CN_DATE1))); |
|
|
|
dataJTable.setDefaultEditor(Date.class, new DateEditor(new UIDatePicker(UIDatePicker.STYLE_CN_DATE1))); |
|
|
|
tableStructureChanged(); |
|
|
|
tableStructureChanged(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 当前版本已经不会出现Float, 这里兜底一下防止报错
|
|
|
|
|
|
|
|
dataJTable.setDefaultRenderer(Float.class, new DoubleRenderer()); |
|
|
|
|
|
|
|
|
|
|
|
// 单击即可编辑
|
|
|
|
// 单击即可编辑
|
|
|
|
editbysingleclick(dataJTable, String.class); |
|
|
|
editbysingleclick(dataJTable, String.class); |
|
|
|
editbysingleclick(dataJTable, Date.class); |
|
|
|
editbysingleclick(dataJTable, Date.class); |
|
|
|