☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

update

[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.

Example

pivot.on('update', function () {
alert('Updated!');
});

Check the example on JSFiddle.

See also

ready
reportchange