Class NoopSortingStrategy

Represents a class implementing the IGridSortingStrategy interface with a no-operation sorting strategy. It performs no sorting and returns the data as it is.

Hierarchy

Hierarchy

  • NoopSortingStrategy

Implements

Methods

  • data: The array of data to be sorted. Could be of any type. expressions: An array of sorting expressions that define the sorting rules. The expression contains information like file name, whether the letter case should be taken into account, etc. grid: (Optional) The instance of the grid where the sorting is applied. Returns a new array with the data sorted according to the sorting expressions.

    Parameters

    • data: any[]

    Returns any[]