Re: scrollend() does not fire with bryntum partner
Posted: Thu Aug 22, 2019 1:20 pm
by Luffy
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.
subGrids13.JPG (37.41 KiB) Viewed 1781 times
subGrids12.JPG.png (14.92 KiB) Viewed 1781 times
Your guidance is highly appreciated.
Best regards,
Anuradha
Re: scrollend() does not fire with bryntum partner
Posted: Thu Aug 22, 2019 1:32 pm
by mats
Good finding, fixed now in our sources and will be part of next nightly build + release
Re: scrollend() does not fire with bryntum partner
Posted: Mon Aug 26, 2019 7:45 am
by garysemple
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.
subGrids14.JPG (60.53 KiB) Viewed 1767 times
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
Re: scrollend() does not fire with bryntum partner
Posted: Mon Aug 26, 2019 10:08 am
by mats
Actually, you could use getSubGrid instead:
/**
* Returns the subGrid for the specified region.
* @param {String} region Region, eg. locked or normal (per default)
* @returns {Grid.view.SubGrid} A subGrid
* @category SubGrid
*/
getSubGrid(region) {
return this.subGrids[region];
}
Re: scrollend() does not fire with bryntum partner
Posted: Mon Aug 26, 2019 11:38 am
by Luffy
Hi Mats,
Thanks for the reply.
I have tried with your suggestion with the following code but didn't have luck. It seems "scrollable" property does not available.
subgrid-33.png (19.12 KiB) Viewed 1758 times
I have bind the "scrollend" event to the subgrid, but the event does not triggered.
subgrid45.JPG (22.73 KiB) Viewed 1758 times
Best regards,
Anuradha
Re: scrollend() does not fire with bryntum partner