Skip to content

Conversation

@MBilalShafi
Copy link
Member

@MBilalShafi MBilalShafi commented Mar 4, 2024

Part of #8179
Resolves #3377

Previews:
Server side tree data with server-side indexed pagination, sorting, filtering, and caching: https://deploy-preview-12317--material-ui-x.netlify.app/x/react-data-grid/server-side-data/tree-data/
Plain data server-side pagination, filtering, and sorting: https://deploy-preview-12317--material-ui-x.netlify.app/x/react-data-grid/server-side-data/#usage

Action items:

  • A basic data source implementation via a dedicated hook
  • New strategy processor for server-side tree data
  • Allow use of the cache with the data source
  • Make pagination.rowCount a controlled state (extracted to [DataGrid] Make rowCount part of the state #12381)
  • Support x-data-generator to provide server-side filtered and sorted data (mock an actual data source) => (useMockServer)
  • Support server-side sorting, filtering, and (index-based) pagination.
  • Make rows an optional prop (extracted to [DataGrid] Make rows an optional prop #12478)
  • Support imperative operations on the data source cache
  • Add a default internal cache
  • Support unknown and estimated rowCount (extracted to [DataGrid] Support advanced server-side pagination use cases #12474)
  • Support defaultGroupingExpansionDepth and isGroupExpandedByDefault
  • Demos
    • Error handling (plain data)
    • Error handling (tree data)
    • Custom cache on plain data
    • Demos with swr and react-query
  • Discoverability: Make the demos closer to the actual code to make it easy to copy-paste
  • Perf: Optimize the rowTreeCreation and other processes of rows pre-processing
  • Revisit naming conventions (e.g. DataSource vs DataManager vs DataProvider vs ?)

Follow-up Items (for subsequent PRs):

@MBilalShafi MBilalShafi added scope: data grid Changes related to the data grid. feature: Server integration Better integration with backends, e.g. data source MUI X Pro labels Mar 4, 2024
@mui-bot
Copy link

mui-bot commented Mar 4, 2024

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 10, 2024
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 10, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 12, 2024
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 22, 2024
@github-actions

This comment has been minimized.

@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Mar 29, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 5, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Apr 16, 2024
@github-actions

This comment was marked as outdated.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jun 19, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jun 25, 2024
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Jun 25, 2024
@MBilalShafi MBilalShafi merged commit a90712f into mui:master Jun 28, 2024
DungTiger pushed a commit to DungTiger/mui-x that referenced this pull request Jul 23, 2024
thomasmoon pushed a commit to thomasmoon/mui-x that referenced this pull request Sep 9, 2024
@MBilalShafi MBilalShafi deleted the feat-datasource branch December 19, 2024 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: Server integration Better integration with backends, e.g. data source plan: Pro Impact at least one Pro user. scope: data grid Changes related to the data grid.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[data grid] Implement server-side data source in tree data

7 participants