We have updated Flexmonster Software License Agreement, effective as of September 30, 2025 (list of changes)
All documentation

datafilecancelled

[starting from version: 2.3]

It is triggered when the Open file dialog was opened and a user clicks the Cancel button. It happens when:

  1. The user chooses Connect -> To local CSV/JSON in the Toolbar.
  2. The updateData() method is called with the browseForFile = true parameter.

Example

pivot.on('datafilecancelled', function () {
alert('Data file cancelled!');
});

Try on JSFiddle.

See also

dataloaded
dataerror