[starting from version: 2.3]
It is triggered when a report is changed in the component. The change can be performed by a user or programmatically. The list of API calls which trigger the reportchange
event:
expandAllData()
expandData()
collapseData()
setFilter()
clearFilter()
sortValues()
setSort()
setFormat()
runQuery()
addCondition()
removeCondition()
removeAllConditions()
addCalculatedMeasure()
removeCalculatedMeasure()
removeAllCalculatedMeasures()
pivot.on('reportchange', function () {
alert('Report changed!');
});
Open the example on JSFiddle.