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

[data grid] Set up a back end server with database to be used with the server side data examples #15098

Open
MBilalShafi opened this issue Oct 24, 2024 · 3 comments
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source new feature New feature or request

Comments

@MBilalShafi
Copy link
Member

MBilalShafi commented Oct 24, 2024

Summary

Currently we have been using an internal mock server useMockServer to simulate backend data fetching with the data source. It has a few caveats.

  1. The proper network requests are not visible in the network tab
  2. It's difficult to optimize the dummy backend server for huge data
  3. Processing large datasets in mock server on the client are blocking the main thread
  4. The examples on the docs pages are not very close to the actual integrations with the users' backend servers.

Examples

No response

Motivation

Context: #13826 (comment)

Search keywords: server side data

@MBilalShafi MBilalShafi added component: data grid This is the name of the generic UI component, not the React module! new feature New feature or request status: waiting for maintainer These issues haven't been looked at yet by a maintainer feature: Server integration Better integration with backends, e.g. data source labels Oct 24, 2024
@cherniavskii
Copy link
Member

A few options to consider:

@michelengelen
Copy link
Member

michelengelen commented Oct 28, 2024

shouldn't be to hard to setup a db on AWS to use.
The hard part is to find a good set of data

or simply use a service for that (e.g. MongoDB, Firebase, etc)

@michelengelen michelengelen removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Oct 28, 2024
@github-project-automation github-project-automation bot moved this to 🆕 Needs refinement in MUI X Data Grid Oct 28, 2024
@arminmeh
Copy link
Contributor

shouldn't be to hard to setup a db on AWS to use.

problem with this is that the data is shared with everyone and some people may add some offensive data in the grid
It is better to go with in-memory db or IndexedDB
also, running an actual database comes with additional maintenance and costs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Server integration Better integration with backends, e.g. data source new feature New feature or request
Projects
Status: 🆕 Needs refinement
Development

No branches or pull requests

4 participants