Class DataGrid.SortOrder

java.lang.Object
io.jmix.ui.component.DataGrid.SortOrder
All Implemented Interfaces:
Serializable
Enclosing interface:
DataGrid<E>

public static class DataGrid.SortOrder extends Object implements Serializable
Sort order descriptor. Links together a DataGrid.SortDirection value and a DataGrid column Id.
See Also:
  • Field Details

  • Constructor Details

    • SortOrder

      public SortOrder(String columnId, DataGrid.SortDirection direction)
      Constructor for a SortOrder object. Both arguments must be non-null.
      Parameters:
      columnId - id of the DataGrid column to sort by
      direction - value indicating whether the property id should be sorted in ascending or descending order
  • Method Details