Our pure JavaScript Scheduler component


Post by do thanh tam »

Hi support,
I'm now working on trial version of Angular scheduler and set start/end date and working time (e.g: 8 AM - 18PM) however when I set scheduler in multiple days, the days are not start with these working time (it view in 24 hours day)
I searched and find this example (https://www.bryntum.com/examples/scheduler/timeaxis/) however I don't know how to config or execute generateTicks in timeAxis in Angular
So do you have any small Angular example to demonstrate this to share?

Thank you so much


Post by pmiklashevich »

Hello,

If you want just show working hours, please see https://www.bryntum.com/examples/scheduler/workingtime/
It is enough to configure the time: https://www.bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#config-workingTime

generateTicks is used when need complex mapping. As you can see in the Timeaxis demo, the function is defined as a part of timeAxis configuration which is defined for the Scheduler. 'timeAxis' config is not available in the angular wrapper Scheduler/examples/angular/_shared/projects/bryntum-angular-shared/src/lib/scheduler.component.ts so if you'd like to use it, please adjust the wrapper and add 'timeAxis' config there. Please see 'Supported properties', 'Supported features', and 'Adding properties which are not supported by default' sections in this guide: https://www.bryntum.com/docs/scheduler/#guides/integration/angular.md

Best regards,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post by do thanh tam »

Hi Pavel,
OK, I see, it is not defined, that's why I cannot find it.
Thank you for your support


Post Reply