enable/disable task

Good morning,


i would like to know if there is a way to set enabled or disabled  status for each task so to let the user change only some of them.

I found "isActive" but i can't see any change...

Thank You


5 Replies

VR Vignesh Ramesh Syncfusion Team November 18, 2021 11:19 AM UTC

Hi marco del frate, 

Greetings from Syncfusion. 

You can achieve this requirement by introducing a new Boolean (CanEdit) property in the custom model and based on its value, restricting the dragging in the NodeDragCompleted, NodeResizingCompleted, ProgressResizing events in Gantt, and canceling the CurrentCellStartEditing event in GanttGrid. Please find the sample from the below link. 


Please let us know if you need any further assistance. 

Regards, 
Vignesh Ramesh.


MD marco del frate November 18, 2021 11:30 AM UTC

Thank You for Your answer. I like it but i can't acces to the sample... It tells me that i can't access...




ET Eswaran Thirugnanasambandam Syncfusion Team November 19, 2021 10:29 AM UTC

Hi Marco del frate,  
 
Please download the sample from the below link. 
 
Regards, 
Eswaran 



MD marco del frate November 19, 2021 02:46 PM UTC

It works! thank You very much



VR Vignesh Ramesh Syncfusion Team November 22, 2021 07:15 AM UTC

Hi marco del frate, 
  
We are glad to hear that the provided solution works at your end. Please let us know if you would require any further assistance.  
  
Regards,  
Vignesh Ramesh. 


Loader.
Up arrow icon