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 :

  1. @using Syncfusion.Blazor.Gantt
  2. @using Syncfusion.Blazor.Data
  3. @using Syncfusion.Blazor
  4.  
  5.  
  6. <SfGantt @ref="Gantt"
  7.          DataSource="@Models"
  8.          Height="450px"
  9.          Width="100%"
  10.          Toolbar="@(new List<string>() { "Add", "Edit", "Update", "Delete", "Cancel" })"
  11.          AllowReordering="true"
  12.          ShowColumnMenu="true"
  13.          AllowSelection="true"
  14.          EnableContextMenu="true"
  15.          AllowFiltering="true"
  16.          AllowSorting="true"
  17.          AllowResizing="true"
  18.          TaskMode="ScheduleMode.Manual"
  19.          EnablePredecessorValidation="true">
  20.     <SfDataManager Adaptor="Adaptors.CustomAdaptor" DataType="TaskData">
  21.         <CustomDataAdaptor></CustomDataAdaptor>
  22.     </SfDataManager>
  23.     <GanttTaskFields Id="Id" Name="Name" StartDate="StartDate" EndDate="EndDate"
  24.     ParentID="ParentId"
  25.     Duration="Duration" Progress="Progress" Child="Activities">
  26.     <GanttEditSettings Mode="EditMode.Dialog" AllowAdding="true" AllowDeleting="true" AllowEditing="true" AllowTaskbarEditing="true" ShowDeleteConfirmDialog="true">
  27.     </GanttEditSettings>
  28.     </GanttTaskFields>
  29. </SfGantt>

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 



SM Syed Mohammad Fahim Abrar replied to Lokesh Arjunan November 4, 2021 09:28 AM UTC

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: 
 
  1. The steps taken to replicate the issue.
  2. Screenshots of the error with complete stack trace (if any).
  3. A video replicating the issue.
  4. 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. 


Loader.
Up arrow icon