feature/21354 #3

Merged
giancarlo.panichi merged 6 commits from feature/21354 into master 2021-11-30 14:36:40 +01:00
1 changed files with 4 additions and 3 deletions
Showing only changes of commit 4ab9e3ea97 - Show all commits

View File

@ -101,6 +101,7 @@ import com.sencha.gxt.widget.core.client.toolbar.ToolBar;
*/
public class ActiveFiltersPanel extends SimpleContainer {
private static final String CONTEXT = "Context";
private EventBus eventBus;
private Grid<AccountingFilter> gridFilter;
private ListStore<AccountingFilter> storeFilter;
@ -392,7 +393,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
IdentityValueProvider<ContextData> identity = new IdentityValueProvider<ContextData>();
smScopes = new CheckBoxSelectionModel<ContextData>(identity);
labelScopesCol = new ColumnConfig<ContextData, String>(propsScopeData.label(), 356, "Scope");
labelScopesCol = new ColumnConfig<ContextData, String>(propsScopeData.label(), 356, CONTEXT);
labelScopesCol.setCell(new AbstractCell<String>() {
@ -768,7 +769,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
}
gridScopes.setVisible(true);
labelScopesCol.setHeader("Scope");
labelScopesCol.setHeader(CONTEXT);
gridScopes.getView().refresh(true);
comboChartType.setValue(ChartType.Basic);
@ -925,7 +926,7 @@ public class ActiveFiltersPanel extends SimpleContainer {
}
gridScopes.setVisible(true);
labelScopesCol.setHeader("Scope");
labelScopesCol.setHeader(CONTEXT);
gridScopes.getView().refresh(true);
comboChartType.setValue(ChartType.Top);