Skip to main content
Solved

disable drag drop in context


Tejo van de Bor
Captain
Forum|alt.badge.img+5

Hi,

In our application a user can add details to an entity using a task, or using drag n drop. How can I disable the drag n drop when the entity has a specific status? For the task buttons I use a Contexts procedure, but how is this handled for drag n drop? 

In the context menu there is a Drag rows option to enable/disable, but how can this be automated?

Thanks!

Best answer by Renée Evertzen

Hey Tejo,

If the context disables the tasks that are used for the drag-drop functionality, the drag-drop itself will also automatically not be possible. You don't need to write a separate context procedure or setup different settings for this specifically.

Does this answer your question?

View original
Did this topic help you find an answer to your question?
This topic has been closed for comments

2 replies

Renée Evertzen
Moderator
Forum|alt.badge.img+4

Hey Tejo,

If the context disables the tasks that are used for the drag-drop functionality, the drag-drop itself will also automatically not be possible. You don't need to write a separate context procedure or setup different settings for this specifically.

Does this answer your question?


Tejo van de Bor
Captain
Forum|alt.badge.img+5

ah, thanks Renée, I had the tasks hidden, not disabling them. Now it works, or beter, it doesn’t when we want to 😊


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings