Our pure JavaScript Scheduler component


Post by R4tm4n »

Is there a way to customizate resourses context menu?


Post by alex.l »

This is that you need: https://bryntum.com/docs/scheduler/#Grid/feature/CellMenu

const scheduler = new Scheduler({
    [...]

features : {
    cellMenu : {
      items : {
         extraItem : { text: 'My cell item', icon: 'fa fa-bus', weight: 200, onItem : () => console.log(1) }
      }
    }
  },

columns : [
    { text : 'Name', field : 'name', width : 130 }
]
});

All the best,
Alex


Post Reply