Open oliviertassinari opened 1 week ago
it looks like the index does not exist on the first page of pagination, indicating that the DataGrid component's pagination is enabled by this override variable. Let's say we attempt to update rowIndex
into the first page's range. It will work with scrollToIndexes in this case.
In my reproduction, we are trying to scroll to an index that isn't in the scroll container, but the grid says nothing about it.
I would expect something in that order: https://codesandbox.io/p/sandbox/auto-row-height-forked-n684rg?file=%2Fsrc%2Findex.js%3A79%2C12
Steps to reproduce
Steps:
Context
It's related to #4744, I saw this in #12242. It's probably a low priority since it works on the Pro and Premium plan. We can delegate this fix to the community.
Your environment
I can reproduce on v6.19.8 and v7.7.0
Search keywords: -