Our pure JavaScript Scheduler component


Post by Acceless »

Trying to customize the Scheduler for LWC (Salesforce) and can't enable context menu for Resource Column Header and for Timeline, did all by the documentation and by the documentation they should be enabled by default, but they are don't work. Also it doesn't work with the examples, so didn't find a way to enable those for LWC. In Version 3 for Aura it was working and I disabled it manual for my purposes.

So using the code below it disabled by default (or doesn't work).

let schedulerOptions = {
    appendTo: this.template.querySelector('.scheduler-container'),
    minHeight: this.componentHeight,
    columns: columns,
    resourceStore: resourceStore,
    eventStore: eventStore,
}

Also I tried to use timeAxisHeaderMenu with different combination of params, but it also doesn't help.


Post by mats »

This is Pro or regular Scheduler? What version are you using?


Post by Acceless »

Scheduler Pro 4.0.8, thank you


Post by Maxim Gorkovsky »

Hi Aceless,
I checked our LWC demo with 4.0.8 release, context menus work just fine without any extra configuration. Could you please provide more info? How do you create component? Which salesforce api version do you use? If you follow setup steps in our salesforce guide (which you can find inside the examples/salesforce/src/lwc/README.md), do you get a running scheduler with context menu?


Post by pascalpe »

LWC are built on API version 48


Post Reply