T - the type of the gridpublic class GridSortOrderBuilder<T> extends com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>
GridSortOrder lists.
When the sort order is ready to be passed on, calling SortOrderBuilder.build() will
create the list of sort orders.GridSortOrder,
thenAsc(com.vaadin.flow.component.grid.Grid.Column),
thenDesc(com.vaadin.flow.component.grid.Grid.Column),
SortOrderBuilder.build(),
Serialized Form| Constructor and Description |
|---|
GridSortOrderBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected GridSortOrder<T> |
createSortOrder(Grid.Column<T> by,
com.vaadin.flow.data.provider.SortDirection direction) |
GridSortOrderBuilder<T> |
thenAsc(Grid.Column<T> by) |
GridSortOrderBuilder<T> |
thenDesc(Grid.Column<T> by) |
public GridSortOrderBuilder<T> thenAsc(Grid.Column<T> by)
thenAsc in class com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>public GridSortOrderBuilder<T> thenDesc(Grid.Column<T> by)
thenDesc in class com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>protected GridSortOrder<T> createSortOrder(Grid.Column<T> by, com.vaadin.flow.data.provider.SortDirection direction)
createSortOrder in class com.vaadin.flow.data.provider.SortOrderBuilder<GridSortOrder<T>,Grid.Column<T>>Copyright © 2022. All rights reserved.