Solved

disable drag drop in context

  • 25 October 2022
  • 2 replies
  • 17 views

Userlevel 2

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!

icon

Best answer by Renée Evertzen 25 October 2022, 15:20

View original

This topic has been closed for comments

2 replies

Userlevel 4
Badge +1

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?

Userlevel 2

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