You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.data.event.

Class SortEvent<T extends Component,​S extends SortOrder<?>>

    • Constructor Detail

      • SortEvent

        public SortEvent​(T source,
                         List<S> sortOrder,
                         boolean fromClient)

        Creates a new sort order change event with a sort order list.

        Parameters:

        source - the component from which the event originates

        sortOrder - the new sort order list

        fromClient - true if event is a result of user interaction, false if from API call

    • Method Detail

      • getSortOrder

        public List<S> getSortOrder()

        Gets the sort order list.

        Returns:

        the sort order list