[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:
browseForFile = true
pivot.on('datafilecancelled', function () { alert('Data file cancelled!');});
Try on JSFiddle.
dataloadeddataerror
In this guide