swimlane / ngx-datatable

✨ A feature-rich yet lightweight data-table crafted for Angular
http://swimlane.github.io/ngx-datatable/
MIT License
4.63k stars 1.68k forks source link

Feature Request: Supporting drag and drop events from HTML5 DnD API #1593

Open aspidov opened 5 years ago

aspidov commented 5 years ago
[ ] bug report
[x] feature request
[ ] support requesе

Current behavior Rows can not be dragged and any data can not be dropped to ngx-datatable.

Expected behavior ngx-datatable supports handling of drag, drop, dragstart, etc events and set draggable property to rows by configuration.

What is the motivation / use case for changing the behavior? Use case 1. Drag row (with row data) to another component of a page. Use case 2. Drag row (with row data) to another browser tab/window. In can be achieved by re-defining drag data in dragstart event (ex. application/json or url type data should be presented) Use case 3. Drop to ngx-datatable (to row, to group or just to table). It can be needed if user can fill groups or link children to rows.

adityapeesapat commented 5 years ago

Is there any update on this feature request yet? Supporting Angular 4?

myin142 commented 5 years ago

Duplicate of #411