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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable dialog after double click

Thread ID:





147334 Sep 6,2019 09:27 AM UTC Sep 9,2019 01:04 PM UTC Vue 1
Tags: Gantt Chart
Tomasz Tomczykiewicz
Asked On September 6, 2019 09:27 AM UTC


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

Best regards,
Tomasz Tomczykiewicz

Gurunathan A [Syncfusion]
Replied On 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. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon