Browse Source

CHART-11265

research/11.0
白岳 5 years ago
parent
commit
e57e783087
  1. 1
      designer-chart/src/main/java/com/fr/design/chartx/component/AbstractCustomFieldComboBoxPane.java
  2. 2
      designer-chart/src/main/java/com/fr/design/chartx/single/DataSetPane.java

1
designer-chart/src/main/java/com/fr/design/chartx/component/AbstractCustomFieldComboBoxPane.java

@ -106,6 +106,7 @@ public abstract class AbstractCustomFieldComboBoxPane<T> extends UIComboBoxPane<
}
public void checkBoxUse(boolean hasUse) {
jcb.setEnabled(hasUse);
useFieldValuePane.checkBoxUse(hasUse);
}

2
designer-chart/src/main/java/com/fr/design/chartx/single/DataSetPane.java

@ -50,6 +50,7 @@ public class DataSetPane extends FurtherBasicBeanPane<DataSetDefinition> {
this.setLayout(new BorderLayout());
this.add(tableDataPane, BorderLayout.NORTH);
this.add(dataSetFieldsPane, BorderLayout.CENTER);
checkBoxUse();
}
/**
@ -102,7 +103,6 @@ public class DataSetPane extends FurtherBasicBeanPane<DataSetDefinition> {
}
refreshBoxList();
checkBoxUse();
tableDataPane.populateBean(ob.getNameTableData());

Loading…
Cancel
Save