Hello,
How can I add file uploader drop zone to datatable cells of specific column, I want to add a different file against each row using drop zone along with upload link.
Thank You!
Hello,
How can I add file uploader drop zone to datatable cells of specific column, I want to add a different file against each row using drop zone along with upload link.
Thank You!
Hello @Komal,
You can achieve this with the help of scheme
, where you can define drop area in cell by the addDropZone method on $init
:
scheme:{$init:(obj)=>{
webix.delay(function(id){
$$('uploadAPI').addDropZone(this.getItemNode(id), null, id)
}, $$("people"), [obj.id], 300)
}
Then you need to initialize uploader and provide a custom logic.
For example, the code can look as follows:
https://snippet.webix.com/zlnlykz7
Please check the documentation to get more information about binding uploader to any page element:
https://docs.webix.com/desktop__apionly_uploader.html
Thank You so much!