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

Wrong showing expand icon

Hi,

I have a problem with deleting tasks. I add the new task as a child, then delete it. The expand icon for the parent doesn't disappear. 
I attached a simple demo. You have to click on the button "add child to 'Perform Soil test'" and then on the button "remove newly added task". The expand icon for "Perform Soil test" doesn't disappear.

Best regards,
Tomasz Tomczykiewicz

Attachment: ganttinlineadd_8b833ce9.zip

3 Replies

JA Jesus Arockia Sankaran S Syncfusion Team July 15, 2019 11:49 AM UTC

Hi Tomasz, 
 
We analyzed the provided sample and we can able to reproduce the reported issue. This issue has been fixed already and included in our latest version. Kindly upgrade your version to v17.2.34. 
In Gantt, to delete the record ,we need to call deleteRecord method from editModule. 
Please find the code example below. 
<button class="btn btn-danger" @click="remove">remove newly added task</button> 
 
remove() { 
      const ganttInstance = getGanttInstance(); 
      //... 
      ganttInstance.editModule.deleteRecord(nodeToDel); 
    } 
 
Please find the sample from below link. 
 
Regards, 
Jesus Arockia Sankaran S 



TT Tomasz Tomczykiewicz July 15, 2019 01:00 PM UTC

Thanks, it's solved my problem.

Best regards,
Tomasz Tomczykiewicz


JA Jesus Arockia Sankaran S Syncfusion Team July 15, 2019 01:02 PM UTC

Hi Tomasz, 
  
Thanks for your reply. 
  
Regards, 
Jesus Arockia Sankaran S 


Loader.
Live Chat Icon For mobile
Up arrow icon