☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation
  • API Reference for older versions
  • refresh

    refresh()

    [starting from version: 1.6]

    Redraws the component.

    This API call allows you to control redrawing of the component when you use the following API calls:

    • addCondition()
    • removeAllConditions()
    • removeCondition()
    • setFormat()
    • setOptions()

    Example

    To turn off totals and redraw the component to see changes, use the following API calls:

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

    Try on JSFiddle.

    See also

    addCondition
    removeAllConditions
    removeCondition
    setFormat
    setOptions