Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Listen to table scroll #89

Closed
AmitMY opened this issue Nov 30, 2016 · 14 comments
Closed

Listen to table scroll #89

AmitMY opened this issue Nov 30, 2016 · 14 comments

Comments

@AmitMY
Copy link

AmitMY commented Nov 30, 2016

Is there a callback for listening to scroll?
In v5 I used isScrollLag for it, I know its not it's purpose.
Couldn't find anything in the documentation

@AmitMY
Copy link
Author

AmitMY commented Dec 1, 2016

Current "solution" is using:
onViewportChanged: scrollingHandler

Not a 100% scrolling events, but for some needs is usable

@ceolter
Copy link
Collaborator

ceolter commented Dec 2, 2016

event you want is bodyScroll

@ceolter ceolter closed this as completed Dec 2, 2016
@AmitMY
Copy link
Author

AmitMY commented Dec 2, 2016

Thanks @ceolter !
It is not documented in events

@ceolter
Copy link
Collaborator

ceolter commented Dec 2, 2016

that's because it's a secret. don't tell anyone.

@AmitMY
Copy link
Author

AmitMY commented Dec 2, 2016

LOL I won't. Thanks

@ceolter
Copy link
Collaborator

ceolter commented Dec 2, 2016

btw, you in israel right? i didn't see you at Angular UP two weeks ago!

@AmitMY
Copy link
Author

AmitMY commented Dec 2, 2016

I am
I was not aware of the event, or who was attending
I would have definitely attended if I knew you were going!

Well, I guess next time

@ceolter
Copy link
Collaborator

ceolter commented Dec 2, 2016

yea next time, was all a bit of a rush. we were actually sponsoring it.
http://angular-up.com/

@AmitMY
Copy link
Author

AmitMY commented Dec 2, 2016

Damn. I wish I knew sooner

Hope Israel made a good impression on you.

I didn't know ag-grid grew so big to sponsor such events, that is awesome!

I don't usually attend these kind of events, for no particular reason except for laziness perhaps.
I will start.. tomorrow :)

@ceolter
Copy link
Collaborator

ceolter commented Dec 2, 2016

that was one of the smaller ones, we also sponsored Angular Connect in London and ng-Europe in Paris this year, next year we are already signed up to ng-Conf for next year https://www.ng-conf.org/sponsors/

@AmitMY
Copy link
Author

AmitMY commented Dec 2, 2016

Thanks!
Don't know if I have the money/time to go to the US in the middle of a school year.

I am now subscribed to the newsletter, so if there will be something more local I will be updated and go

@aknimmag
Copy link

Hello Everyone,

Thank you so much for sharing the info about bodyScroll event.

But it is returning the scroll pointer position, is there any event that is fired when the user scrolls to the end of the grid? (Just to load more data by triggering a service call)

My Tech Stack: Typescript

Thanks in advance.

@ilyaskarim
Copy link

The secret bodyScroll has been added lol!

@anilkumarmv
Copy link

anilkumarmv commented Jun 28, 2020

onBodyScroll event is not firing an event when table is scrolled.
gridOptions.onBodyScroll = this.getSelectedGroupItems()
Is their any other way to know that table is scrolled?
And version info is
"ag-grid-community": "22.0.0",
"ag-grid-vue": "22.0.0",

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants