Hi, all.
When we can expect drag and drop events at the corresponding elements(tree and list in first of all).
Thanks.
Andrey
Hi, all.
When we can expect drag and drop events at the corresponding elements(tree and list in first of all).
Thanks.
Andrey
These are the events available for the usage with the components supoporting the drag’n’drop:
dhxComponent.events.on("beforedrag",function(item,ghost){
//source
})
dhxComponent.events.on("beforedrop",function(id,target){
//target
})
dhxComponent.events.on("dragstart",function(id,ids){
//source
})
dhxComponent.events.on("dragend",function(id,ids){
//source
})
dhxComponent.events.on("candrop",function(id,dropPos){
//target
})
dhxComponent.events.on("canceldrop",function(id,ids){
//target
})
dhxComponent.events.on("dropcomplete",function(id,pos){
//target
})
dhxComponent.events.on("dragOut",function(id,target){
//source
})
dhxComponent.events.on("dragIn",function(id,target){
//source
})
Great! Works…
Put it in documentation…
We’re in the process of adding the drag helper to the docs.