Package io.jmix.ui.component.data
Interface TableItems.Sortable<T>
- Type Parameters:
T
- row item type
- All Superinterfaces:
DataUnit
,TableItems<T>
,TableItems.Ordered<T>
- All Known Subinterfaces:
GroupTableItems<I>
,TreeTableItems<I>
- All Known Implementing Classes:
ContainerGroupTableItems
,ContainerTableItems
,ContainerTreeTableItems
,EmptyGroupTableItems
,EmptyTableItems
,EmptyTreeTableItems
- Enclosing interface:
- TableItems<I>
Sortable table items.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.ui.component.data.DataUnit
DataUnit.StateChangeEvent
Nested classes/interfaces inherited from interface io.jmix.ui.component.data.TableItems
TableItems.ItemSetChangeEvent<T>, TableItems.Ordered<T>, TableItems.SelectedItemChangeEvent<T>, TableItems.Sortable<T>, TableItems.ValueChangeEvent<T>
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
void
Resets sort order.void
Sorts data.default void
Methods inherited from interface io.jmix.ui.component.data.DataUnit
addStateChangeListener, getState
Methods inherited from interface io.jmix.ui.component.data.TableItems
addItemSetChangeListener, addSelectedItemChangeListener, addValueChangeListener, containsId, getItem, getItemIds, getItemNN, getItems, getItemValue, getType, size, supportsProperty, updateItem
Methods inherited from interface io.jmix.ui.component.data.TableItems.Ordered
firstItemId, isFirstId, isLastId, lastItemId, nextItemId, prevItemId
-
Method Details
-
sort
Sorts data.- Parameters:
propertyId
- id of propertyascending
- asc / desc flags
-
resetSortOrder
void resetSortOrder()Resets sort order. -
suppressSorting
default void suppressSorting() -
enableSorting
default void enableSorting()
-