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

Can I get current row index using onScrollStart/onScrollEnd ? #505

Open
follower90 opened this issue Sep 7, 2017 · 2 comments
Open

Can I get current row index using onScrollStart/onScrollEnd ? #505

follower90 opened this issue Sep 7, 2017 · 2 comments

Comments

@follower90
Copy link

onScrollStart and onScrollEnd handlers give only offset values.
Can i get first visible row index or something, that gives ability to pick item data of it from my state?

@wcjordan
Copy link

wcjordan commented Sep 7, 2017

This feature exists on the [fixed-data-table-2 fork|https://github.com/schrodinger/fixed-data-table-2]. If you're interested. This repo is pretty much abandoned, but we're actively bug fixing and taking pull requests on the fork.

@follower90
Copy link
Author

follower90 commented Sep 7, 2017

I have found fixed-data-table has firstRowIndex in state, thats what I need. Investigating how to get it from there

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

2 participants