HI,
We have use scheduler 2.1 version with the partner.
I have bind "scroll" event and "scrollend" events to window and "scroll" event fired and works fine. But "scrollend" event does not fire.
Did I miss something here?
This is really important since we are trying to load our data partially to bryntum data stores and load new data by capturing "scrollend" event.
Your guidance is highly appreciated.
Anuradha
Support Forum
You should not listen on window. Instead:
Docs: https://bryntum.com/docs/scheduler/#Common/helper/util/Scroller#event-scrollend
scheduler.subGrids.normal.scrollable.on('scrollend', console.log)
Hi Mats,
Thanks for the reply.
I have already tried that code segment but got following typescript errors. It seems the scheduler version that we got, does not have required typings. (We used scheduler-2.1.2 nightly build version)
I have gone through the typings(scheduler.d.ts) and found out there is no subGrids property. Your guidance is highly appreciated.
Best regards,
Anuradha
Thanks for the reply.
I have already tried that code segment but got following typescript errors. It seems the scheduler version that we got, does not have required typings. (We used scheduler-2.1.2 nightly build version)
I have gone through the typings(scheduler.d.ts) and found out there is no subGrids property. Your guidance is highly appreciated.
Best regards,
Anuradha
Hi Mats,
I have download the latest night build (scheduler-2.x-2019-08-26-release) and still no luck with the issue. Have you updated the types? I cant find related types in latest scheduler.d.ts.
I have compared "scheduler-2.x-2019-08-26-release" and "scheduler-2.x-2019-08-23-release" types files.They are identicle.
To move forward, we have to have this change.
your help, highly appreciated.
best regards,
Anuradha
I have download the latest night build (scheduler-2.x-2019-08-26-release) and still no luck with the issue. Have you updated the types? I cant find related types in latest scheduler.d.ts.
I have compared "scheduler-2.x-2019-08-26-release" and "scheduler-2.x-2019-08-23-release" types files.They are identicle.
To move forward, we have to have this change.
your help, highly appreciated.
best regards,
Anuradha
Please provide a test case, must be some simple mistake somewhere. You can try this yourself here:https://www.bryntum.com/examples/scheduler/scrollto/
On console:
On console:
scheduler.getSubGrid('normal').scrollable.on('scrollend', console.log)
We'll add that property to the docs too for next release, ticket: https://app.assembla.com/spaces/bryntum/tickets/9116---39-scrollable--39--property-missing-in-widget-docs/details#