Class AssignGridColumnVisibilityPropertiesInitTask
java.lang.Object
io.jmix.flowui.xml.layout.inittask.AssignGridColumnVisibilityPropertiesInitTask
- All Implemented Interfaces:
ComponentLoader.InitTask
public class AssignGridColumnVisibilityPropertiesInitTask
extends Object
implements ComponentLoader.InitTask
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAssignGridColumnVisibilityPropertiesInitTask
(AssignGridColumnVisibilityPropertiesInitTask.DeferredLoadContext loadContext) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ComponentLoader.ComponentContext context, View<?> view) This method will be invoked after view initialization.protected List<? extends DataGridColumn<?>>
getColumnsToInclude
(com.vaadin.flow.component.grid.Grid<?> grid) protected void
loadMenuItems
(com.vaadin.flow.component.grid.Grid<?> grid) splitByComma
(String str)
-
Field Details
-
view
-
loadContext
-
-
Constructor Details
-
AssignGridColumnVisibilityPropertiesInitTask
public AssignGridColumnVisibilityPropertiesInitTask(AssignGridColumnVisibilityPropertiesInitTask.DeferredLoadContext loadContext)
-
-
Method Details
-
execute
Description copied from interface:ComponentLoader.InitTask
This method will be invoked after view initialization.- Specified by:
execute
in interfaceComponentLoader.InitTask
- Parameters:
context
- loader contextview
- view
-
loadMenuItems
protected void loadMenuItems(com.vaadin.flow.component.grid.Grid<?> grid) -
getColumnsToInclude
protected List<? extends DataGridColumn<?>> getColumnsToInclude(com.vaadin.flow.component.grid.Grid<?> grid) -
splitByComma
-