refresh

refresh()

This API call redraws the component.

Use it when you need to apply results of the following API calls:

Example

Hide subtotals from the grid by setting a showTotals option to false and redraw the pivot table using refresh():

webdatarocks.setOptions({
grid: {
showTotals: false
}
});

webdatarocks.refresh();

See the CodePen example with refresh().

See also