update

update:String

This event is triggered as soon as there were any changes in the component such as:

  • Loading the data from a report and rendering of the grid
  • Loading of the localization file
  • Updating the data slice
  • Filtering of the data.

Use it to retrieve the information about the data source structure.

However, if there is a need to track the changes in a report object, the best practice is to use the reportchange event.

Example

webdatarocks.on('update', function() {
console.log('The component was updated!');
});

Try it in the CodePen demo.

See also