Uploader Cancel/Remove Event

Hello, I have uploader file, and I need function when the file is removed before upload and autosend is false

https://snippet.webix.com/g7fs1f5m

Thank You

Tagged:

Comments

  • edited February 24

    Hello @vickypaulantono,
    Uploader doesn't have a special events for files removing. But it has property files that referred to DataCollection. So you can get uploader.files(it's a DataCollection object) and attachonAfterDelete event:

    uploader.files.attachEvent("onAfterDelete", function(id){
       // code
    });
    

    Please check the following snippet:
    https://snippet.webix.com/rpbqhwdm

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion