Hi,
What I'd like is to have is an HTML node on my diagram which is a kanban board control.
Great, thanks for responding so quickly Gowtham. Looking forward to hearing what is possible :-)
Query |
Response | |
the ability to drag a node from my diagram and into the kanban board (removing the node and adding the kanban card)
|
This can be achieved by find the target element in the drop event of the diagram and then using the target element finding the necessary card details required and then framing the data as Kanban data and using the ‘openDialog’ method of the Kanban to add the card in the Kanban. We have modified the shared sample for your reference,
Code snippet:
| |
the ability to drag a card from the kanban control into the diagram |
We suggest you use the add API to add the node in diagram at runtime and use deleteCard API to remove the node from the Kanban component. we need to find out the diagram coordinate based on the muse pointe to add the node at the exact point to add the diagram node in that place. We have added that code in below code snippet. We have added the suggest change in the shared sample added below for your references.
Code snippet:
|
Fantastic, thats just what I was after.
Thanks very much Gowtham