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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Disable drag has effect to other rows

Thread ID:

Created:

Updated:

Platform:

Replies:

150509 Jan 9,2020 10:19 AM UTC Jan 14,2020 01:07 PM UTC Vue 1
loading
Tags: Gantt Chart
Tomasz Tomczykiewicz
Asked On January 9, 2020 10:19 AM UTC

Hi,

When I disable row drag in rowDragStartHelper event it also disables other rows. 

Best regards,
Tomasz Tomczykiewicz

Jesus Arockia Sankaran S [Syncfusion]
Replied On January 14, 2020 01:07 PM UTC

Hi Tomasz, 
 
We have analyzed your query and prepared a sample based on your requirement. In this sample we have used rowDragStartHelper function. In that we have canceled the drag for particular row, by setting args.cancel as true also set the cloneElement as empty string to enable the row Drag for other elements. Please find the code example for this. 
 
<ejs-gantt ref="gantt" 
     //... 
    : rowDragStartHelper="rowDragStartHelper" 
></ejs-gantt> 
 
methods: { 
  rowDragStartHelper: function(args) { 
     if (args.data.TaskID === 2) { 
        args.cancel = true; 
        args.cloneElement = ""; 
     } 
  } 
} 
Please find the below sample link. 
 
If the above does not meet your requirement or we misunderstood your requirement please share the below details to validate further on your requirement.  
  1. share the code example of the sample.
  2. Share the video of the drag issue sample.
Regards, 
Jesus Arockia Sankaran S 


CONFIRMATION

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