showing double id on header in resources field.

Hi
i am using ejs-gantt chart in asp.net core. i want to delete id from resource fields. but displayed double id on header. why come this problem.please solve as soon as possible?

please check below attached file.



Attachment: GanttChart_33c2e36c.zip

2 Replies 1 reply marked as answer

MS Monisha Sivanthilingam Syncfusion Team June 8, 2021 05:29 AM UTC

Hi Himmat, 
 
Greetings from Syncfusion support. 
 
We have analyzed your query and we would like to suggest the AddDialgFields and EditDialogfields properties to limit the number of fields in the resources tab of the Add/Edit dialogs. The following code snippets demonstrate the solution. 
 
Index.cshtml 
 
<e-gantt-editdialogfields> 
           <e-gantt-editdialogfield type="General" headerText="General"></e-gantt-editdialogfield> 
           <e-gantt-editdialogfield type="Dependency"></e-gantt-editdialogfield> 
           <e-gantt-editdialogfield type="Resources" fields="@(new string[]{ "ResourceName", "Unit"  })"></e-gantt-editdialogfield> 
    </e-gantt-editdialogfields> 
    <e-gantt-adddialogfields> 
           <e-gantt-adddialogfield type="General" headerText="General"></e-gantt-adddialogfield> 
           <e-gantt-adddialogfield type="Dependency"></e-gantt-adddialogfield> 
           <e-gantt-adddialogfield type="Resources" fields="@(new string[]{ "ResourceName", "Unit"  })"></e-gantt-adddialogfield> 
    </e-gantt-adddialogfields> 
 
 
We have also prepared a sample for your reference. 
 
Please contact us if you require any further assistance. 
 
Regards, 
Monisha. 



MS Monisha Sivanthilingam Syncfusion Team June 8, 2021 05:29 AM UTC

Hi Himmat, 
 
Greetings from Syncfusion support. 
 
We have analyzed your query and we would like to suggest the AddDialgFields and EditDialogfields properties to limit the number of fields in the resources tab of the Add/Edit dialogs. The following code snippets demonstrate the solution. 
 
Index.cshtml 
 
<e-gantt-editdialogfields> 
           <e-gantt-editdialogfield type="General" headerText="General"></e-gantt-editdialogfield> 
           <e-gantt-editdialogfield type="Dependency"></e-gantt-editdialogfield> 
           <e-gantt-editdialogfield type="Resources" fields="@(new string[]{ "ResourceName", "Unit"  })"></e-gantt-editdialogfield> 
    </e-gantt-editdialogfields> 
    <e-gantt-adddialogfields> 
           <e-gantt-adddialogfield type="General" headerText="General"></e-gantt-adddialogfield> 
           <e-gantt-adddialogfield type="Dependency"></e-gantt-adddialogfield> 
           <e-gantt-adddialogfield type="Resources" fields="@(new string[]{ "ResourceName", "Unit"  })"></e-gantt-adddialogfield> 
    </e-gantt-adddialogfields> 
 
 
We have also prepared a sample for your reference. 
 
Please contact us if you require any further assistance. 
 
Regards, 
Monisha. 


Marked as answer
Loader.
Up arrow icon