Menu
Download Free Trial
Table of contents

datafilecancelled

datafilecancelled:String

[starting from version: 2.3]

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

  1. customer uses menu Connect -> to local CSV/JSON
  2. API method updateData() is called with parameter browseForFile = true

Example

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

Try on JSFiddle.

See also

dataloaded
dataerror