Can we drag and drop files to a kendo grid?

1 Answer 61 Views
Drag and Drop Grid
sooraj
Top achievements
Rank 1
sooraj asked on 23 Sep 2024, 12:11 PM

Hello,

 

I am trying to implement a drag and drop functionality for grid, so that I can drag files and drop in specific rows, so the file will uploaded and saved for that record.

Is this doable and can you post some links or leads.

 

My next requirement is to load uppy plugin uploader while I drop files and it will do the file upload for that record.

 

Thanks

1 Answer, 1 is accepted

Sort by
1
Martin
Telerik team
answered on 26 Sep 2024, 08:50 AM | edited on 26 Sep 2024, 08:51 AM

Hello, Sooraj,

You can add an upload component in a cell in the Grid using a column template. The Upload itself is created in the Grid's dataBound event, and the Upload component can be configured as you wish, including its dropzone feature. Here's a basic example for reference.

Let me know if that would be helpful.

Regards,
Martin
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Tags
Drag and Drop Grid
Asked by
sooraj
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or