@FunctionalInterface public interface SortOrderProvider extends SerializableFunction<SortDirection,Stream<QuerySortOrder>>
Grid.Column.setSortOrderProvider(com.vaadin.flow.component.grid.SortOrderProvider)
Modifier and Type | Method and Description |
---|---|
Stream<QuerySortOrder> |
apply(SortDirection sortDirection)
Generates the sort orders when rows are sorted by a column.
|
identity
Stream<QuerySortOrder> apply(SortDirection sortDirection)
apply
in interface Function<SortDirection,Stream<QuerySortOrder>>
sortDirection
- desired sort directionCopyright © 2023. All rights reserved.