Our pure JavaScript Scheduler component


Post by wispukako »

Hi..
how to config event for show event name following date header position on scheduler?
i have read about logic on this thread: viewtopic.php?f=39&t=10144
but, that's thread is based on ext js and i didn't find any tutorial to get scroll event for applied on my project based on vue.js

my project use eventRenderer like this example: https://www.bryntum.com/examples/scheduler/eventeditor/

do you have any experience like this before? please share your experience.

Thankyou.
Attachments
what i want (after scroll x)
what i want (after scroll x)
4.PNG (8.21 KiB) Viewed 983 times
after scroll x
after scroll x
2.PNG (13.11 KiB) Viewed 983 times
before scroll x
before scroll x
1.PNG (20.19 KiB) Viewed 983 times

Post by mats »

This is not yet supported, we have a ticket open to investigate this feature but no known time for its completion. Ticket: https://app.assembla.com/spaces/bryntum/tickets/7268-add-support-for-sticky-timeaxis-labels/details#

Post by wispukako »

mats wrote: Wed Nov 27, 2019 12:31 pm This is not yet supported, we have a ticket open to investigate this feature but no known time for its completion. Ticket: https://app.assembla.com/spaces/bryntum/tickets/7268-add-support-for-sticky-timeaxis-labels/details#
Thanks for really quick reply..
hope this native feature complete quickly.

but, for now, hmmm.. it is avaible maybe some function or listener for watch x scroll activity on scheduler? + get any event where visible on current range of date (check image attached)
Attachments
watch on x scroll, and return or get all current visible event
watch on x scroll, and return or get all current visible event
5.png (46.93 KiB) Viewed 953 times

Post by pmiklashevich »

You can subscribe to scrollend to catch when scrolling is done is normal grid:
scheduler.getSubGrid('normal').scrollable.on('scrollend', console.log, console);
https://www.bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#function-getSubGrid
https://www.bryntum.com/docs/scheduler/#Grid/view/SubGrid#config-scrollable
https://www.bryntum.com/docs/scheduler/#Common/helper/util/Scroller#event-scrollend

Pavlo Miklashevych
Sr. Frontend Developer


Post by wispukako »

pmiklashevich wrote: Fri Nov 29, 2019 10:12 am You can subscribe to scrollend to catch when scrolling is done is normal grid:
scheduler.getSubGrid('normal').scrollable.on('scrollend', console.log, console);
https://www.bryntum.com/docs/scheduler/#Scheduler/view/Scheduler#function-getSubGrid
https://www.bryntum.com/docs/scheduler/#Grid/view/SubGrid#config-scrollable
https://www.bryntum.com/docs/scheduler/#Common/helper/util/Scroller#event-scrollend
big thanks to you.. we will check it as soon as possible.. cause currently we work on another module.
Thank You..

Post Reply