Adding child task from context menu creating task directly to root as parent
While I am trying to add a child task from the context menu, suddenly it is adding a primary task to the top even not popping up a modal window to add a name or date. I am providing the snippet of the razor file here :
- @using Syncfusion.Blazor.Gantt
- @using Syncfusion.Blazor.Data
- @using Syncfusion.Blazor
- <SfGantt @ref="Gantt"
- DataSource="@Models"
- Height="450px"
- Width="100%"
- Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel" })"
- AllowReordering="true"
- ShowColumnMenu="true"
- AllowSelection="true"
- EnableContextMenu="true"
- AllowFiltering="true"
- AllowSorting="true"
- AllowResizing="true"
- TaskMode="ScheduleMode.Manual"
- EnablePredecessorValidation="true">
- <SfDataManager Adaptor="Adaptors.CustomAdaptor" DataType="TaskData">
- <CustomDataAdaptor></CustomDataAdaptor>
- </SfDataManager>
- <GanttTaskFields Id="Id" Name="Name" StartDate="StartDate" EndDate="EndDate"
- ParentID="ParentId"
- Duration="Duration" Progress="Progress" Child="Activities">
- <GanttEditSettings Mode="EditMode.Dialog" AllowAdding="true" AllowDeleting="true" AllowEditing="true" AllowTaskbarEditing="true" ShowDeleteConfirmDialog="true">
- </GanttEditSettings>
- </GanttTaskFields>
- </SfGantt>
SIGN IN To post a reply.
3 Replies
LA
Lokesh Arjunan
Syncfusion Team
November 4, 2021 08:30 AM UTC
Hi Syed
We validated your query and unable to replicate the reported issue .We have prepared and attached sample for your reference.
Regards,
Lokesh
can you try with .net 6 preview version
MS
Monisha Sivanthilingam
Syncfusion Team
November 9, 2021 09:03 AM UTC
Hi Syed,
We have tried with .net 6 preview version also as you said, however, we were still unable to replicate the issue you reported. Please share more details about the issue you are facing such as:
- The steps taken to replicate the issue.
- Screenshots of the error with complete stack trace (if any).
- A video replicating the issue.
- If possible, please modify the below sample to replicate the issue or share an issue reproducible sample of your own.
Any information you can share with us will be useful to us in providing a solution to you.
Regards,
Monisha.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
SM Syed Mohammad Fahim Abrar
- Nov 3, 2021 11:37 AM UTC
- Nov 9, 2021 09:03 AM UTC