Class GridSortOrderBuilder<T>
java.lang.Object
com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
io.jmix.groupgridflowui.kit.vaadin.grid.GridSortOrderBuilder<T>
- Type Parameters:
T- the type of the grid
- All Implemented Interfaces:
Serializable
public class GridSortOrderBuilder<T>
extends com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
Helper classes with fluent API for constructing
GridSortOrder lists.
When the sort order is ready to be passed on, calling SortOrderBuilder.build() will
create the list of sort orders.- See Also:
-
GridSortOrderthenAsc(Column)thenDesc(Column)SortOrderBuilder.build()- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected GridSortOrder<T>createSortOrder(Grid.Column<T> by, com.vaadin.flow.data.provider.SortDirection direction) thenAsc(Grid.Column<T> by) thenDesc(Grid.Column<T> by) Methods inherited from class com.vaadin.flow.data.provider.SortOrderBuilder
build
-
Constructor Details
-
GridSortOrderBuilder
public GridSortOrderBuilder()
-
-
Method Details
-
thenAsc
- Overrides:
thenAscin classcom.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
-
thenDesc
- Overrides:
thenDescin classcom.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
-
createSortOrder
protected GridSortOrder<T> createSortOrder(Grid.Column<T> by, com.vaadin.flow.data.provider.SortDirection direction) - Specified by:
createSortOrderin classcom.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
-