preUploadCancelled
Event to indicate if a file upload was cancelled.
Please note - this property requires the Editor extension for DataTables.
Description
This event is triggered if the preUpload event is cancelled by a callback handler. It can be used to unsubscribe any event handlers that might expect the upload to be completed.
The parameters passed to this event handler are identical to those for preUpload.
Type
function( e, fieldName, file, ajaxData )
Parameters:
| Name | Type | Optional | |
|---|---|---|---|
| 1 | e | No | |
Event object | |||
| 2 | fieldName | No | |
The name ( | |||
| 3 | file | No | |
This object is a
Please see the | |||
| 4 | ajaxData | No | |
The Editor will send the following parameters:
| |||
Related
The following options are directly related and may also be useful in your application development.