Class DataSource

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(options?: Store): DataSource

Parameters

  • options?: Store optional

Returns

DataSource

constructor(options?: string): DataSource

Parameters

  • options?: string optional

Returns

DataSource

constructor(options?: Array<any>): DataSource

Parameters

  • options?: Array<any> optional

Returns

DataSource

constructor(options?: { store: DevExpress.data.Store; }): DataSource

Parameters

  • options?: { store: DevExpress.data.Store; } optional

Returns

DataSource

constructor(options?: CustomStoreOptions): DataSource

Parameters

Returns

DataSource

constructor(options?: { store: any[]; }): DataSource

Parameters

  • options?: { store: any[]; } optional

Returns

DataSource

constructor(options?: { store: { type: string; }; }): DataSource

Parameters

  • options?: { store: { type: string; }; } optional

Returns

DataSource

constructor(options?: { load(options?: DevExpress.data.LoadOptions): JQueryXHR; }): DataSource

Parameters

  • options?: { load(options?: DevExpress.data.LoadOptions): JQueryXHR; } optional

Returns

DataSource

constructor(options?: { load(options?: DevExpress.data.LoadOptions): any[]; }): DataSource

Parameters

  • options?: { load(options?: DevExpress.data.LoadOptions): any[]; } optional

Returns

DataSource

constructor(options?: { load(options?: DevExpress.data.LoadOptions): JQueryDeferred<any>; }): DataSource

Parameters

  • options?: { load(options?: DevExpress.data.LoadOptions): JQueryDeferred<any>; } optional

Returns

DataSource

constructor(options?: DataSourceOptions): DataSource

Parameters

Returns

DataSource

Properties

public changed: JQueryCallback

public loadError: JQueryCallback

public loadingChanged: JQueryCallback

Methods

public dispose()

public filter(expr: Array<any>): Array<any>

Parameters

  • expr: Array<any>

Returns

Array<any>

public group(expr: Array<any>): Array<any>

Parameters

  • expr: Array<any>

Returns

Array<any>

public isLastPage(): boolean

Returns

boolean

public isLoaded(): boolean

Returns

boolean

public isLoading(): boolean

Returns

boolean

public items(): Array<any>

Returns

Array<any>

public key(): any

Returns

any

public load(): JQueryDeferred

Returns

JQueryDeferred

public loadOptions(): { [key: string]: any; }

Returns

{ [key: string]: any; }

public pageIndex(newIndex?: number): number

Parameters

  • newIndex?: number optional

Returns

number

public searchExpr(selector: string): string

Parameters

  • selector: string

Returns

string

public searchOperation(op?: string): string

Parameters

  • op?: string optional

Returns

string

public searchValue(value?: string): string

Parameters

  • value?: string optional

Returns

string

public select(expr: Array<string>): Array<string>

Parameters

  • expr: Array<string>

Returns

Array<string>

public sort(expr: Array<any>): Array<any>

Parameters

  • expr: Array<any>

Returns

Array<any>

public store(): Store

Returns

Store

public totalCount(): number

Returns

number