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()
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.
addCondition
removeAllConditions
removeCondition
setFormat
setOptions