jQuery UI Widgets Forums Layouts Kanban How to disable "itemMoved" event?

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  baurzhan 2 weeks, 4 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • How to disable "itemMoved" event? #107398

    baurzhan
    Participant

    How to disable “itemMoved” event? I don’t want for some users to be able to move cards on kanban

    • This topic was modified 3 weeks ago by  baurzhan.
    How to disable "itemMoved" event? #107409

    Martin
    Participant

    Hello baurzhan,

    You could disable the dragging of the items by setting them this css: pointer-events: none.
    Please, check the following Example.

    Best Regards,
    Martin

    jQWidgets Team
    https://www.jqwidgets.com/

    How to disable "itemMoved" event? #107429

    baurzhan
    Participant

    Hello Martin,
    Your solution is work, but problem that if I add “pointer-events: none” for my cards it is disable all events on my cards.
    For example, after adding new css, I can’t click on worker name on the card to get modal window with some information

    Can there be other solutions? something like returning the card to his own place after moving.
    Or some other css solutions, which will not block other events

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.