I have the grid with a documents list (screenshot01).
I would like grid (documents list) to intercept file dragging from my computer (my file system) (screenshot02).
To realize this I use a directive class to intercept file dragging events (dragover, dragleave, dragdrop).
The directive class is based on example in https://medium.com/@tarekabdelkhalek/how-to-create-a-drag-and-drop-file-uploading-in-angular-78d9eba0b854 and https://stackblitz.com/edit/angular-drag-n-drop-directive.
Unfortunately this my realization doesn't work for a flickering effect that you can see executing the code in datagrid-test.zip attachment.
The attachment zip file contains:
- screenshot folder with screenshot01 and screenshot02
- angular test project without node_modules folder
Thanks
Adriano
Attachment:
datagridtest_dcc27d54.zip