We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Disable dialog after double click


I want to disable showing of the dialog after double click on the taskbar. How can I do this?

Best regards,
Tomasz Tomczykiewicz

1 Reply

GA Gurunathan A Syncfusion Team September 9, 2019 01:04 PM UTC

Hi Tomasz, 
Greeting from Syncfusion 
There is no direct method to disable the edit dialog only on taskbar double click action. We can achieve this by using some work around by manually binding the double click event to the taskbars using JavaScript addEventListener method, in this event handler we have stopped event bubbling for double click action, please find the below code example. 
<ejs-gantt ref="gantt" id="GanttContainer" 
      : queryTaskbarInfo="queryTaskbarInfo"> 
export default { 
  methods: { 
    queryTaskbarInfo: function(args) { 
      args.taskbarElement.addEventListener("dblclick", function(e) { 
We have prepared the sample with your requirement, please find the sample from below link. 
Note: Dialog will render while clicking edit toolbar item and in the row other than the taskbar element in chart side. 
Please get back to us if you require further assistance on this. 


Live Chat Icon For mobile
Up arrow icon