All documentation
  • API Reference for older versions
  • getOptions

    getOptions(): OptionsObject

    [starting from version: 1.6]

    Returns OptionsObject with component's options.

    Example

    How to turn off totals:

    let options = pivot.getOptions();
    options.grid.showTotals = "off";

    pivot.setOptions(options);
    pivot.refresh();

    Try on JSFiddle.

    See also

    OptionsObject
    setOptions
    Options tutorial