Page 1 of 1

[ANGULAR] How to hide specific fields in TaskEdit for advanced tab

Posted: Thu Jun 23, 2022 6:18 pm
by mv2022

Is there a way to hide specific fields in the advanced tab? For example, I would like to hide the calendar, scheduling mode, constraint type, constraint date, rollups & effort driven.

I looked through the docs but I couldn't find a way to hide only those fields.
https://bryntum.com/docs/gantt/api/Gantt/feature/TaskEdit


Re: [ANGULAR] How to hide specific fields in TaskEdit for advanced tab

Posted: Thu Jun 23, 2022 10:15 pm
by marcio

Hey,

Yes, there is a way, please check the available options here https://www.bryntum.com/docs/gantt/guide/Gantt/customization/taskedit#customizing-the-tabs-and-the-fields

For your case, I believe this configuration should do the trick.

features : {
        taskEdit : {
            items : {
                advancedTab     : {
                  items:  {
                    calendarField: false,
                    schedulingModeField: false,
                    effortDrivenField: false,
                    constraintTypeField: false,
                    constraintDateField: false,
                    rollupField: false,
                    divider: false,
                  }
                }
            }
        }
    }