Delete dependancy

How can i select a dependancy in the task bar area and delete it?


1 Reply

AG Ajithkumar Gopalakrishnan Syncfusion Team March 13, 2025 07:58 AM UTC

Hi John,

Greetings from Syncfusion Support,

To achieve your requirement, we suggest using the Dialog Edit or Context Menu in the Gantt chart. When a taskbar is double-clicked, the Edit Dialog opens, allowing navigation to the Dependency tab, where dependencies for a specific task can be deleted. Alternatively, when right-clicking on a taskbar, a context menu option will appear, allowing you to delete the predecessor of the selected task.

<SfGantt DataSource="@TaskCollection" EnableContextMenu="true" >
    ..

    <GanttEditSettings AllowTaskbarEditing="true" AllowDeleting="true" AllowEditing="true" Mode="Syncfusion.Blazor.Gantt.EditMode.Auto"></GanttEditSettings>

</SfGantt>


Image ref:





Sample attached as zip file.

For more information, you may refer to the following link:

https://blazor.syncfusion.com/documentation/gantt-chart/editing-tasks#task-dependencies


https://blazor.syncfusion.com/documentation/gantt-chart/context-menu

If you have any further questions or need additional assistance, please let me know!

Regards,

Ajithkumar G


Attachment: Index_4b1339d4.zip

Loader.
Up arrow icon