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

rowDragStop cancel

Thread ID:





140640 Oct 30,2018 08:55 AM UTC Oct 31,2018 12:13 PM UTC jQuery 1
Tags: ejGantt
Tomasz Tomczykiewicz
Asked On October 30, 2018 08:55 AM UTC


I have a problem with event rowDragStop. I have situations when I don't want to allow to change the position of the element and I set cancel property to true. Then I get an error in the console. But sometimes it works.

if (args.requestType === 'insertAbove') {
if (args.targetRow.item.isStage && !args.draggedRow.item.isStage)
args.cancel = true; // It works and doesn't throw an error
else if (!args.targetRow.item.isStage && args.draggedRow.item.isStage)
args.cancel = true; // It doesn't work and throws an error

Best regards,
Tomasz Tomczykiewicz

Attachment: rowDragStop_6c79b2d6.zip

Jesus Arockia Sankaran S [Syncfusion]
Replied On October 31, 2018 12:13 PM UTC

Hi Tomasz, 

Thanks for using Syncfusion Support.  

We have analyzed your code snippet and attached image, but we could not able to replicate the issue in our side. By checking the provided image we suspect that you are doing client side chart customization in the Gantt. Can you please share us your client side code to provide you with the proper solution. We have also prepared a sample for your reference with the given scenario.  
Please get back to us if you need any further assistance. 
Jesus Arockia Sankaran S 


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