What's the syntax to change the fields visible in the task editing window?

I didn't find the syntax to change the fields visible in the task editing window.
I founs sample in MVC with AddDialogFields but not in Core.
Thanks for advance.

3 Replies

JC JCV November 21, 2017 05:14 PM UTC

I've found the syntax:
            <AddDialogFields>
                <ej:AddDialogField Field="Id" />
                <ej:AddDialogField Field="Name" />
                <ej:AddDialogField Field="StartDate" />
                <ej:AddDialogField Field="Duration" />
            </AddDialogFields>
  
            <EditDialogFields>
                <ej:EditDialogField Field="Name" />
                <ej:EditDialogField Field="StartDate" />
                <ej:EditDialogField Field="ExpectedDate" /> <%--To display custom column--%>
            </EditDialogFields>


JC JCV November 21, 2017 06:03 PM UTC

In fact, it does'nt seem to be good in Core.
It seems to be something like: <e-add-dialog-fields>
But I still doesn't know how to write fields like Field="Id", Field="Name"


SR Suriyaprasanth Ravikumar Syncfusion Team November 23, 2017 11:03 AM UTC

Hi Vallet, 
 
We have analyzed your query, We regret for the inconvenience caused. Please find the proper syntax below to customize the fields of the add/edit dialog in Gantt control. 
[CSHTML] 
<ej-gantt id="ganttSample" datasource="ViewBag.datasource" ... > 
    //.. 
    <e-edit-dialog-fields> 
        <e-edit-dialog-field display-in-general-tab="true" field="Id"></e-edit-dialog-field> 
        <e-edit-dialog-field display-in-general-tab="true" field="Name"></e-edit-dialog-field> 
        <e-edit-dialog-field display-in-general-tab="true" field="StartDate"></e-edit-dialog-field> 
    </e-edit-dialog-fields> 
    //.. 
</ej-gantt> 

We have also prepared a sample for your reference, Please find the sample from the below location. 
You can also find the online user guide documentation for Gantt in the below link  
 
We are planning to include more samples in ASP.NET core platform for Gantt and this will be done in our upcoming release. 
 
Please let us know if you require any other assistance on this.   
 
Regards,   
Suriyaprasanth R.  


Loader.
Up arrow icon