Class DataBuilder

builder for a LocalDataProvider along with LineUp configuration options

Hierarchy

  • default
    • DataBuilder

Constructors

Properties

options: Partial<ITaggleOptions> = ...

Methods

  • add the default ranking (all columns) to this data provider

    Parameters

    • addSupportTypes: boolean = true

      add support types, too, default: true

    Returns DataBuilder

  • triggers to derive the column descriptions for the given data

    Parameters

    • Rest ...columns: (string | string[])[]

      optional enforced order of columns

    Returns DataBuilder

  • option to enforce that the whole row is shown upon hover without overflow hidden

    Parameters

    • enable: boolean

    Returns DataBuilder

    Default

    false
    
  • height and padding of an aggregated group in pixel

    Parameters

    • groupHeight: number
    • groupPadding: number = 5

    Returns DataBuilder

    Default

    40 and 5
    
  • show the sorting and grouping hierarchy indicator in the side panel

    Parameters

    • enable: boolean

      enable flag

    Returns DataBuilder

  • identifier for this LineUp instance. by default a random id is generated.

    Parameters

    • instanceId: string

    Returns DataBuilder

    Default

    random string
    
  • option to rotate labels on demand in narrow columns

    Parameters

    • rotation: number

      rotation in degrees

    Returns DataBuilder

    Default

    0 - disabled
    
  • option to enable/disable the side panel

    Parameters

    • enable: boolean

      enable flag

    • collapsed: boolean = false

      whether collapsed by default

    Returns DataBuilder

  • option to enable/disable showing a summary (histogram, ...) in the header

    Parameters

    • enable: boolean

    Returns DataBuilder

    Default

    true