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

[DataGridPro] Keep bottom pinned row at the bottom #13313

Merged
merged 15 commits into from
Jul 9, 2024
Prev Previous commit
Next Next commit
fix: test
romgrk committed Jul 5, 2024
commit bda12ed79e78b8fe13e50e8c7e5eebaaec69959e
Original file line number Diff line number Diff line change
@@ -105,7 +105,11 @@ describe('<DataGridPro /> - Pagination', () => {

it('should log an error if rowCount is used with client-side pagination', () => {
expect(() => {
render(<DataGridPro rows={[]} columns={[]} paginationMode="client" rowCount={100} />);
render(
<div style={{ width: 300, height: 300 }}>
<DataGridPro rows={[]} columns={[]} paginationMode="client" rowCount={100} />
</div>
);
}).toErrorDev([
'MUI X: Usage of the `rowCount` prop with client side pagination (`paginationMode="client"`) has no effect. `rowCount` is only meant to be used with `paginationMode="server"`.',
]);