An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
We should have a bryntum global drag handler, that allows dragging from any widget and dropping on any other. Something like this:
Drag is started from a widget, lets say a Grid. The dragged elements are tagged with their respective record and handed over to the global handler.
On mousemove/mouseup we resolve the widget which the mouse is currently over. Calls:
widget.onGlobalDrag(draggedElements) or widget.onGlobalDrop(draggedElements)
The target widget decides what to do with it. Lets say dropped on scheduler, it could then check if the attached record is an event, assignment or something else it knows about and handle that. If something unknown, users code could handle it.
This would allow us to easily support dragging between our different products + it would simplify custom demos such as drag-onto-tasks by not needing to add any custom drag handler, only implement onGlobalDrop in the demo.
We should have a bryntum global drag handler, that allows dragging from any widget and dropping on any other. Something like this:
Drag is started from a widget, lets say a Grid. The dragged elements are tagged with their respective record and handed over to the global handler.
On mousemove/mouseup we resolve the widget which the mouse is currently over. Calls:
widget.onGlobalDrag(draggedElements)
orwidget.onGlobalDrop(draggedElements)
This would allow us to easily support dragging between our different products + it would simplify custom demos such as drag-onto-tasks by not needing to add any custom drag handler, only implement
onGlobalDrop
in the demo.