Premium support for our pure JavaScript UI components


Post by hugo.vanhaaren »

Hi, We're using scheduler 5.1.2 and we want the user to be able to scroll to a certain event based on a description they type in a text box. Previously this was possible to query the dom for a class and text to get the element and then we could scroll to it using standard javascript.

The scheduler now uses paging so the event might be rendered yet if it's on the bottom of the canvas so our current logic does not work anymore. What would be the approach to achieve this in the new scheduler?

Thanks.


Post by alex.l »

Did you see this example? https://bryntum.com/examples/scheduler/filtering/
Check "Highlight" field's handler, it uses eventStore to search the event and after that you can call https://bryntum.com/docs/scheduler/api/Scheduler/view/mixin/SchedulerScroll#function-scrollEventIntoView

All the best,
Alex


Post Reply