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 add grid title and redraw the component to see changes, use the following API calls:

    pivot.setOptions({
    grid: {
    title: "Table One"
    }
    });
    pivot.refresh();

    Try on JSFiddle.

    See also

    addCondition
    removeAllConditions
    removeCondition
    setFormat
    setOptions