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

reportchange

[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()

Example

pivot.on('reportchange', function () {
alert('Report changed!');
});

Open the example on JSFiddle.

See also

ready
update
reportcomplete