DND file,uploader

Hi Webix Team,

Dnd with Invisible Uploader

In this dnd file is not working in Internet Explorer.

Thanks

Thank you for reporting!

Hi Listopad,

Please give me the solution because I am stuck.

Unfortunately, there’s no quick workaround.
The issue will be fixed for IE10+ in the next release (due to the limitations of IE, older versions cannot be supported).
If you need the fix ASAP and have a support subscription, please contact support@webix.com

Thanks Listopad.

Hi Webix Team,

Have you update above issue?

Hi,

The fix is now available in Webix 5.0.3 (Pro-only).

The major update (Webix 5.1) will be available at the end of November.

Hi webix team,

https://webix.com/snippet/f1b845af

I want the “Drop files here or click to upload” text before file dnd.
And also on Clicking area we should select file. Because right now I come to know here is the area to drop after dragging file.

Thanks,
Mira Karale

hi webix team,
Please reply me I am stuck.

You can call the Uploader fileDialog() method to select the needed file: https://webix.com/snippet/63a93fee

Thanks.

For text is there any way?

You can use the OverlayBoxAPI for the empty list: https://webix.com/snippet/1b55cb14

Thanks very much.

How to replace duplicate file with message.

hi webix team,
Please reply me I am stuck.

Hi Meera,

You can catch the onBeforeFileAdd event and return false within its handler if there’s a same-name file in the uploader collection: https://webix.com/snippet/5d6dfba1

Thanks for reply.

But I want somethig like this https://webix.com/snippet/da2c49b8

If I am clicking on OK button then the file should get replace and on cancel simply return false.

Because now If I am including message box without confirming it hitting url.

Yep, confirm boxes do not intercept application flow.

In your case, you need to prevent file adding anyway, and within a successful callback of webix.confirm you need to add this file by API and send it to server, if your Uploader is configured to do so.

var id = this.files.add(item);
this.callEvent("onAfterFileAdd", [item]);
if (id && this.config.autosend)
     this.send(id);

Please, check: https://webix.com/snippet/662b3d63

Hi Helga,
Thanks for reply.
Its working fine but when I am clicking on Ok there should be only one file(second one).

Thanks