Hierarchy (View Summary)

Constructors

Properties

bgfArray: undefined | null | Uint8Array<any>
bgfData: undefined | null | { cat: string; column: string }
data: any
deepToolsWorker: Worker
dimensions: undefined | { columns: any; groups: any; length: any; rows: any }
displayData: any
filterArguments: undefined | null | string | object
filterArray: Uint8Array<SharedArrayBuffer>
filterBuffer: SharedArrayBuffer
filterColumns: undefined | string[]
filterIndexes: any
filterMethod: undefined | null | string
localFilter: any
order: Uint32Array<SharedArrayBuffer>
orderBuffer: SharedArrayBuffer
parent: DataStore
sortWorker: Worker
types: { [k: string]: undefined | typeof Dimension }

Methods

  • Filters the data

    Parameters

    • method: string

      The name of the filter method. if 'filterPredicate' then the args should contain a predicate function

    • columns: string[]

      a list of column ids used in the filtering

    • args: string | object

      any extra arguments for filtering

    • Optionalnotify: boolean = true

      notify any listeners in the dataStore that the data has been filtered

    Returns void

  • updates the filter if data in the supplied columns has been altered does not propagate (call any listeners)

    Parameters

    • columns: string[]

      a list of columns whose data has changes

    Returns boolean

    True if refiltering has taken place

  • Parameters

    • __namedParameters: {
          columns: any;
          data: any;
          displayData: any;
          groups: any;
          length: any;
          rows: any;
      }

    Returns void

  • Sorts the dimension based on the columns and order

    Parameters

    • sortColumns: any[]

      An array of objects with the following properties

    Returns Promise<any>

    • A promise that resolves to the new order