Check documentation for the latest version of dhtmlxSuite onBeforeClear DHTMLX Docs

onBeforeClear

fires before the user clears the list of files to upload

void onBeforeClear(){ ... };

Example

myVault.attachEvent("onBeforeClear", function(){
    // your code here
    return true;
});

Related samples

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

The event is cancelable, return false to cancel the 'clear' operation.

See also
Change log

added in version 2.0

Back to top