function
Source: factory.ts ↗
defWithSorting()
Changes sorting in the definition. Any sorting settings accumulated so far WILL be wiped out.
export declare function defWithSorting(definition: IExecutionDefinition, sorts: ISortItem[]): IExecutionDefinition;
Parameters
Parameter | Type | Description |
|---|---|---|
definition | definition to alter with sorting | |
sorts | items to sort by |
Returns
new execution with the updated sorts
Remarks
This function MUST be used to implement IPreparedExecution.withSorting();