Skip to content

[data grid] Updating rows within dataSource #19848

@misantronic

Description

@misantronic

Related page

https://mui.com/x/react-data-grid/server-side-data/

Kind of issue

Missing information

Issue description

While I generally like the idea of the dataSource in the data-grid component, I am missing the info how I can dynamically update entries within the data-source without refetching them.

I receive websockets-updates with the usual C(R)UD -Updates.

C reate: Add a row
U pdate: Update props in a row
D elete: Delete a row

This was totally possible with the rows-prop as I was able to modify them as needed. With the dataSourc-prop I don‘t see that option.

Context

No response

Search keywords: datagrid datasource update

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions