Represents a collection of sort elements that are applied to a data source or provider.

IgrChartSortDescriptionCollection

new IgrChartSortDescriptionCollection(): IgrChartSortDescriptionCollection

Returns IgrChartSortDescriptionCollection

get count(): number

Returns number

get i(): ChartSortDescriptionCollection

Returns ChartSortDescriptionCollection

Gets or sets whether this collection should detach the sync when the target collection changes.

get shouldDetachOnTargetChange(): boolean

Returns boolean

set shouldDetachOnTargetChange(v: boolean): void

Parameters

  • v: boolean

Returns void

[iterator](): Generator<any, void, unknown>

Returns Generator<any, void, unknown>

add(item: IgrChartSortDescription): boolean

Parameters

Returns boolean

clear(): void

Returns void

findByName(name: string): any

Parameters

  • name: string

Returns any

indexOf(item: IgrChartSortDescription): number

Parameters

Returns number

insert(index: number, item: IgrChartSortDescription): void

Parameters

Returns void

item(index: number, value: IgrChartSortDescription): IgrChartSortDescription

Parameters

Returns IgrChartSortDescription

remove(item: IgrChartSortDescription): boolean

Parameters

Returns boolean

removeAt(index: number): IgrChartSortDescription

Parameters

  • index: number

Returns IgrChartSortDescription

toArray(): IgrChartSortDescription[]

Returns IgrChartSortDescription[]