Premium support for our pure JavaScript UI components


Post by shaveta »

tasnim wrote: Thu Jun 08, 2023 8:23 am

If you want to disable the checkbox when the feature is disabled
https://bryntum.com/products/gantt/docs/api/Gantt/feature/CellEdit#event-disable
You could try this

        cellEdit : {
            listeners : {
                disable(event) {
                    const { source : { owner } } = event;
                    owner.widgetMap.tbar.widgetMap.featuresButton.menu.widgetMap['b-menuitem-7'].disabled = true;
                }
            }
        }

Thanks!!


Post Reply