How to custom menu and add separate line between menuitem
item
I want to remove menuitem "Change column" and rename caption EditTask menuitem and add separate line between menuitem.
Thanks
To add a border below a menu item, you can set the item´s https://bryntum.com/docs/scheduler/api/Core/widget/MenuItem#config-cls to b-separator
.
Please have a look at feature docs: https://bryntum.com/docs/taskboard/api/TaskBoard/feature/TaskMenu
There is the list of default items: https://bryntum.com/docs/taskboard/api/TaskBoard/feature/TaskMenu#default-items
And example here: https://bryntum.com/examples/taskboard/task-menu/
So you need something like:
const taskBoard = new TaskBoard({
features : {
taskMenu : {
items : {
column : null,
editTask : {
text : 'Change edit task name'
}
}
}
}
});
All the best,
Alex