Check documentation for the latest version of dhtmlxSuite onBeforeClear DHTMLX Docs


fires before the user clears the list of files to upload

void onBeforeClear();


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


This API page is for Vault v2.5. Please go to 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