We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to customize the dialog fields of Gantt

In Gantt control, user can enable or disable required fields in both edit dialog box and add dialog box for all the predefined columns and custom columns with the help of “EditDialogFields” and “AddDialogFields” property. The provided fields in the “EditDialogFields” and “AddDialogFields” property alone will be displayed in the dialog box of the Gantt chart.

Please refer the following code snippets for more details.

 

Code snippets:

 

The following screen shots shows the output of the above code snippets.

Add Dialog Window: (General Tab)

 

 

 

 

 

 

Edit Dialog Window: (General Tab)

Edit Dialog Window: (Tab for custom column)

 

 

DisplayInGeneralTab:

The “DisplayInGeneralTab” property in Edit Dialog fields and Add dialog fields is required to provide the support for displaying the fields of custom columns in the General tab of dialog box. By default the value of this property will be false.

In the above Edit dialog box, to display the field ofExpectedDate” custom column in General Tab, the following code snippets can be used in “EditDialogFields” property.

Code snippets:

 

The following screen shots shows the output of the above code snippets.

Article ID: Published Date: Last Revised Date: Platform: Control:
7895 07/31/2017 07/31/2017 ASP.NET Web Forms Gantt
Did you find this information helpful?
Add Comment
You must log in to leave a comment

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon