bryntum / support

An issues-only repository for the Bryntum project management component suite which includes powerful Grid, Scheduler, Calendar, Kanban Task Board and Gantt chart components all built in pure JS / CSS / TypeScript
https://www.bryntum.com
54 stars 6 forks source link

Should be possible to pass menu instance to the taskMenu #9901

Open ghulamghousdev opened 2 months ago

ghulamghousdev commented 2 months ago

Forum post

I have a custom Menu instance like so:

const taskMenu = new Menu({
      anchor: true,
      autoShow: false,
      items: [
         {
            icon : 'b-fw-icon b-icon-add',
            text : 'New Category'
         }
      ]
   });

When I try to provide this to my BryntumGanttProps config object like so:

taskMenuFeature: {
   menu: taskMenu
},

It should be possible to pass menu instance to the taskMenu