Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onScroll - react-data-table - Fix #1254

Open
huksunkustand opened this issue Sep 30, 2024 · 0 comments
Open

onScroll - react-data-table - Fix #1254

huksunkustand opened this issue Sep 30, 2024 · 0 comments

Comments

@huksunkustand
Copy link

huksunkustand commented Sep 30, 2024

Hello, nice to meet you guys, congratulations on the project you have, I was reviewing the documentation and I saw that there is nothing related to obtaining the OnScrolling event,

I was trying to fix it by adding a reference (ref) to the div container and capturing the scrolling event and I saw that it works, always when the "fixedHeader" value is disabled.

But I would also like to have this static value, I mean having fixHeader = true.

I see that if this value is true it no longer captures anything in the scrolling, I see that the react-data-table component does not expose anything referenced to obtain the onScrolling event, perhaps this could be an improvement, so that the component is more robust .And thank you in advance, I use react-data-table-component quite a bit. :)

fixedHeader = FALSE
image
image

fixedHeader = TRUE
image
image

Stop capturing the event

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

No branches or pull requests

1 participant