Hierarchy (View Summary)

Constructors

Properties

bgfArray: undefined | null | Uint8Array<any>
bgfData: undefined | null | { cat: string; column: string }
filterArguments: undefined | null | string | object
filterArray: Uint8Array<SharedArrayBuffer>
filterBuffer: SharedArrayBuffer
filterColumns: undefined | string[]
filterIndexes: any
filterMethod: undefined | null | string
localFilter: any
parent: DataStore
worker: 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

  • Filters the data based on a predicate function. The function should return false if the row should be filtered out.

    Parameters

    • args: any
    • columns: any

    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