cancel
Showing results for 
Search instead for 
Did you mean: 

Remove Drag and Drop area for sap.m.upload.UploadSet control

parab_neha
Explorer
0 Kudos
709

Hello ,

In SAPUI5, for sap.m.upload.UploadSet , is it possible to remove Drag and Drop Area , (empty white area which says Drop files to upload, or use the "Upload" button) ? I want it to look like Fileuploader without the drag and drop.

UploadSet

Fileuploader

Thanks,

Neha

View Entire Topic
Tukutupap
Participant
0 Kudos

Hello,

The uploader has an aggregation that allows you custom define your uploader (sap.m.upload.UploadSet), which has an aggregation that lets you define drag and drop config (sap.ui.core.dnd.DragDropBase). There is a property "enabled" there, I guess you could try that?

In any case, remember you can always hide it using CSS.

Good luck!