Refs #21354: Improve accounting manager portlet by new persistence

Upddated context column name
This commit is contained in:
Giancarlo Panichi 2021-11-26 17:42:47 +01:00
parent 8e68cdcf4b
commit 4ab9e3ea97
1 changed files with 4 additions and 3 deletions

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);