Class CustomStore

Hierarchy

Index

Constructor methods

Properties

Methods

Constructor methods

constructor(options?: CustomStoreOptions): CustomStore

Parameters

Returns

CustomStore

Properties

public inserted: JQueryCallback

public inserting: JQueryCallback

public loaded: JQueryCallback

public loading: JQueryCallback

public modified: JQueryCallback

public modifying: JQueryCallback

public removed: JQueryCallback

public removing: JQueryCallback

public updated: JQueryCallback

public updating: JQueryCallback

Methods

public byKey(key: any, extraOptions?: { expand?: string[]; }): JQueryDeferred

Parameters

  • key: any
  • extraOptions?: { expand?: string[]; } optional

Returns

JQueryDeferred

public createQuery(options?: QueryOptions): IQuery

Parameters

Returns

IQuery

public insert(values: any): JQueryDeferred

Parameters

  • values: any

Returns

JQueryDeferred

public key(): any

Returns

any

public keyOf(obj: any): any

Parameters

  • obj: any

Returns

any

public load(options?: LoadOptions): JQueryDeferred

Parameters

Returns

JQueryDeferred

public remove(key: any): JQueryDeferred

Parameters

  • key: any

Returns

JQueryDeferred

public totalCount(options?: { filter?: any[]; group?: string[]; }): JQueryDeferred

Parameters

  • options?: { filter?: any[]; group?: string[]; } optional

Returns

JQueryDeferred

public update(key: any, values: any): JQueryDeferred

Parameters

  • key: any
  • values: any

Returns

JQueryDeferred