Configure custom fields in JavaScript Gantt Chart Control

18 Nov 20181 minute to read

The JavaScript Gantt Chart control allows you to enhance task data management by adding custom fields to the add/edit dialogs, seamlessly integrating them into the General tab using the actionBegin and actionComplete events. For example, adding a priority dropdown to the General tab enables users to assign task priorities during creation or editing. Inject Edit and enable editSettings.allowAdding and editSettings.allowEditing to support dialog modifications. Configure valid taskFields mappings or custom data properties (e.g., priority) to persist custom field values in the data source. Use actionBegin to define custom field properties (e.g., textbox, dropdown) before the dialog opens, and actionComplete to handle field data after user input. This feature supports various field types, such as dropdowns or numerics, and integrates with task scheduling, dependencies, and critical path, ensuring custom fields align with project workflows. Ensure the dialog module is configured to render custom fields accurately, enhancing flexibility in task management.

See also