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

[RFC] Which examples would you like to see for the Data Grid?

 #7768

Open
Tracked by #9328
joserodolfofreitas opened this issue Jan 30, 2023 · 8 comments
Open
Tracked by #9328
Labels
component: data grid This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation

Comments

@joserodolfofreitas
Copy link
Member

Summary

Hi everyone,
In the last MUI Developer survey, we've seen multiple requests for more examples in the documentation.
We hear you, and our goal is to provide the best experience and support for your projects.

So we'd like to ask the community: Which examples would help you accomplish your real-life use cases?
Feel free to let us know if you have ideas or struggle/have struggled with any particular customization because of a lack of an example.

🗳️ Request an example

Please leave your suggestions as comments on this thread (one request per comment), and feel free to 👍 upvote any comment with an example you'd like to see prioritized.

Thank you for your participation and valuable input!

🎯 Need some guidance to formulate your request?

  • Try to be as clear as possible about the goal/custom behavior you want to achieve.
  • Try complementing your request with a "how to" title, summarizing what you'd like to learn from this example.
  • If it's a styling/visual customization, feel free to add a visual concept.
  • It can include any feature or feature combination.

You can use the following template.


["How to" Title]

[What I need in detail]

(Optional) [media with a visual concept]


📡 Example:

How to add custom controls to the filter panel?

I need to add additional custom buttons to the bottom of the filter panel to enable advanced filtering tools, like saving the filter parameters and quickly reloading them from a shortcut list.

@joserodolfofreitas joserodolfofreitas added docs Improvements or additions to the documentation component: data grid This is the name of the generic UI component, not the React module! labels Jan 30, 2023
@joserodolfofreitas joserodolfofreitas pinned this issue Jan 30, 2023
@Birddle
Copy link

Birddle commented Apr 12, 2023

How to add column batch edit function
I need to update multiple rows of data in the same column, but currently I can only do it by updating individual cells, can you update the tutorial to help achieve this function?
I guess this feature is also applicable to the basic functionality of tables in many scenarios, maybe this feature will be added to the community version in the future?

image

@DevPowers
Copy link

How to style cells without impacting the Aggregate row. Example of the issue: https://codesandbox.io/s/frosty-euler-1szk2y?file=/demo.tsx.

@tielushko
Copy link

how to use updateRows api in conjunction with the data that's coming back from the server.

@AnastasiaEvgenia
Copy link

Full example of grid with server side data, server side filtering, sorting, paging and grouping, server side exporting, plus editing functionality.

@woodreamz
Copy link

How to customize toolbar components individually (quick filter field, columns button, exports button).

For example, I would like to replace the Columns button by an IconButton.

@cheesestringer
Copy link

With high frequency updates, how would you style / highlight only the changed cells.

For example, with stock trading data:

  • If the new value is higher, apply fading green shading / highlighting
  • If the new value is lower, apply fading red shading / highlighting

@LeonSa2404
Copy link

How can I make sure that the grid is finished loading and that the api object can be accessed?

I implemented several components around the DataGrid that interact with the Grid via the api object, for example a custom active filter indicator and a wrapper around the grid to store and restore the grid's state. When my custom components first load, I want to do stuff with api object, like subscribing to events, but when using a useEffect the api object is not yet populated. How can I make sure that the grid is finished loading and that the api object can be accessed?

@Birddle
Copy link

Birddle commented Mar 20, 2024

A case for customizing datagrid checkbox styles and an example of bulk editing columns.

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! docs Improvements or additions to the documentation
Projects
None yet
Development

No branches or pull requests

8 participants