| Package | Description |
|---|---|
| com.vaadin.data.provider | |
| com.vaadin.ui |
| Modifier and Type | Method and Description |
|---|---|
void |
ListDataProvider.addSortComparator(SerializableComparator<T> comparator)
Adds a comparator to the default sorting for this data provider.
|
void |
ListDataProvider.setSortComparator(SerializableComparator<T> comparator)
Sets the comparator to use as the default sorting for this data provider.
|
| Modifier and Type | Method and Description |
|---|---|
protected SerializableComparator<T> |
Grid.createSortingComparator()
Creates a comparator for grid to sort rows.
|
SerializableComparator<T> |
Grid.Column.getComparator(SortDirection sortDirection)
Gets the comparator to use with in-memory sorting for this column
when sorting in the given direction.
|
| Modifier and Type | Method and Description |
|---|---|
Grid.Column<T,V> |
Grid.Column.setComparator(SerializableComparator<T> comparator)
Sets a comparator to use with in-memory sorting with this column.
|
Copyright © 2017 Vaadin Ltd. All rights reserved.