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.

How to customize the dialog fields in Gantt

In Gantt control, user can enable or disable required fields in both edit dialog and add dialog, for both the predefined and custom columns using editDialogFields and addDialogFields properties. The fields displayed in the editDialogFields and addDialogFields properties alone will be displayed in the Gantt dialogs.

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: (General Tab)

 

Edit Dialog: (General Tab)

Edit Dialog: (Tab for custom column)

 

 

DisplayInGeneralTab:

The “displayInGeneralTab” property in edit dialog 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 of “ExpectedDate” 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:
7997 09/19/2017 09/19/2017 JavaScript ejGantt
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.