Skip to content

Why endRowIndex and firstRowIndex are not passed to onVerticalScroll and onHorizontalScroll?  #595

@manvydasu

Description

@manvydasu

Imagine someone is building a table, which supports infinite scroll and the amount of total rows is not known (hence the Infinite scroll example in examples folder would not work as it requires to know total amount of rows in advance). Currently, it would be possible to do that with onScrollEnd. However, the function only gets called after user stop scrolling and as result we can't fetch data in advance (lets assume we want to fetch additional data once user scrolls past 50% of visible rows).

There properties are already passed to "onScrollEnd". Shouldn't they also be passed to onVerticalScroll and onHorizontalScroll? Such change shouldn't break anything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions