Our state of the art Gantt chart


Post 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

Attachments
taskedit.PNG
taskedit.PNG (25.61 KiB) Viewed 200 times

Post 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,
                  }
                }
            }
        }
    }

Best regards,
Márcio


Post Reply