Represents a class implementing the IGridSortingStrategy interface. It provides sorting functionality for grid data based on sorting expressions.

IgxGroupedTreeGridSorting

new IgxGroupedTreeGridSorting(): IgxGroupedTreeGridSorting

Returns IgxGroupedTreeGridSorting

Inherited from: IgxSorting

Sorts the provided data based on the given sorting expressions. data: The array of data to be sorted. 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.

sort(data: any[], expressions: ISortingExpression<any>[], grid: GridTypeBase): any[]

Defined in projects/igniteui-angular/core/src/data-operations/grid-sorting-strategy.ts:90

Parameters

Returns any[]

instance(): IgxGroupedTreeGridSorting

Defined in projects/igniteui-angular/grids/tree-grid/src/tree-grid.grouping.pipe.ts:26

Returns IgxGroupedTreeGridSorting