onBeforeDrag - onDrag - onDrop

I’m using onBeforeDrag - onDrag - onDrop events for drag&drop in my grid. But I would like to disable drag&drop if user doesn’t have credentials… I put if (!authorized) return false; into the beginning of onBeforeDrag. Is it enough to put the previous statement only to that function? Or do I have to put into all 3 of them?

Basically I’m asking: If onBeforeDrag returns with false then no additional drag&drop functionality will be called?

Basically I’m asking: If onBeforeDrag returns with false then no additional drag&drop functionality will be called?
that’s right. After “return false” from the onBeforeDrag the dragging process will be stopped.

thx :slight_smile: