[starting from version: 2.3]
It is triggered when the slice is updated or the data is filtered, sorted, etc. In other words, when the change occurs in the component. It is good to use it to retrieve information about the data source structure.
If you want to track changes in the ReportObject, we recommend using reportchange
instead.
pivot.on('update', function () {
alert('Updated!');
});
Check the example on JSFiddle.