mui-x icon indicating copy to clipboard operation
mui-x copied to clipboard

[data grid] `onRowsScrollEnd` does not fire when `rowsLoadingMode` is set to "server"

Open DanielLaubacher opened this issue 3 years ago • 3 comments

Related page

https://mui.com/x/api/data-grid/data-grid-pro/#DataGridPro-prop-onRowsScrollEnd

Kind of issue

Missing information

Issue description

After upgrading to mui/x-data-grid-pro@^6.6.0 the onRowsScrollEnd prop stopped firing. I discovered that this line of code prevents onRowsScrollEnd from firing when rowsLoadingMode={"server"} is set. I did not notice anything documenting this change, apologies if I've missed something. This was an unexpected cause since I have pagination and filtering modes set to "server".

Context 🔦

I hope this information will help others who face the same issue.

Search keywords: onRowsScrollEnd

DanielLaubacher avatar Oct 02 '23 21:10 DanielLaubacher

Hey @dlaub3 thanks for raising this. Yes, the feature is intentionally disabled when rowsLoadingMode={server}. These are 2 different features, the onRowsScrollEnd is related to the infinite loading feature and the rowsLoadingMode={server} is to enable the lazy loading feature

DanailH avatar Oct 05 '23 12:10 DanailH

This issue has been inactive for 7 days. Please remove the stale label or leave a comment to keep it open. Otherwise, it will be closed in 5 days.

github-actions[bot] avatar Apr 10 '25 15:04 github-actions[bot]

This issue has been closed due to 5 days of inactivity after being marked stale.

github-actions[bot] avatar Apr 16 '25 03:04 github-actions[bot]