-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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] Server side data source lazy loading #13878
base: master
Are you sure you want to change the base?
[DataGridPro] Server side data source lazy loading #13878
Conversation
a16525b
to
9302410
Compare
3e7e817
to
f747d05
Compare
3d0de1a
to
04bff9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really nice initial implementation 👍
Thank you for picking this up. 🙏
packages/x-data-grid-pro/src/hooks/features/dataSource/useGridDataSource.ts
Outdated
Show resolved
Hide resolved
packages/x-data-grid-pro/src/hooks/features/serverSideLazyLoader/useGridDataSourceLazyLoader.ts
Outdated
Show resolved
Hide resolved
packages/x-data-grid-pro/src/hooks/features/dataSource/useGridDataSource.ts
Outdated
Show resolved
Hide resolved
2aaa688
to
99cd596
Compare
9257ca3
to
5eefb3d
Compare
6df3bb1
to
eae88f2
Compare
fcecea3
to
9230211
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job combining lazy and infinite loading and explaining this well in the docs!
docs/data/data-grid/server-side-data/ServerSideLazyLoadingModeUpdate.tsx
Show resolved
Hide resolved
f50f6de
to
14cd89d
Compare
Co-authored-by: Bilal Shafi <[email protected]> Signed-off-by: Armin Mehinovic <[email protected]>
Co-authored-by: Bilal Shafi <[email protected]> Signed-off-by: Armin Mehinovic <[email protected]>
Co-authored-by: Bilal Shafi <[email protected]> Signed-off-by: Armin Mehinovic <[email protected]>
Co-authored-by: Sycamore <[email protected]> Signed-off-by: Armin Mehinovic <[email protected]>
74fe267
to
c0fe72a
Compare
Part of #8179
Resolves #10857
Resolves #10858
Preview: https://deploy-preview-13878--material-ui-x.netlify.app/x/react-data-grid/server-side-data/lazy-loading/
Action items in progress:
Make initial end index dependent on the viewportUse page size for the initial data loadInclude [data grid] TanStack Query integration demos #14227(will be handled separately)Changelog