jQuery UI Widgets › Forums › Layouts › Kanban › Distinguish between left and right mouse click
This topic contains 1 reply, has 2 voices, and was last updated by ivailo 6 years, 11 months ago.
Actually I can left-click at one of the Kanban Items and perform an action.
But I’d like to fire another action when someone has clicked the right-mouse button instead.
How can I distinguish in Kanban between left and right mouse click?
You can bind to the mousedown event.
Then if a right button is clicked, you can execute your custom functionality.
Here is a simple demo: https://www.jseditor.io/?key=jqwidgets-kanban-item-right-click
You must be logged in to reply to this topic.