MUI X: Build complex and data-rich applications using a growing list of advanced React components, like the Data Grid, Date and Time Pickers, Charts, and more!
I am wondering if there will be any callBacks exposed on the data grid to keep the dataset's in line.
something like this where we have a dataGrid that controls all the data for a mui chart.
Here is a sandbox to demo the code I wrote to achieve this, but it would be nice to have a hook or a call back that when the dataGrid changes we can redraw the chart with the same dataset.
Summary
I am wondering if there will be any callBacks exposed on the data grid to keep the dataset's in line. something like this where we have a dataGrid that controls all the data for a mui chart.
Here is a sandbox to demo the code I wrote to achieve this, but it would be nice to have a hook or a call back that when the dataGrid changes we can redraw the chart with the same dataset.
Examples
https://codesandbox.io/p/sandbox/muichartsanddatagridcallback-39m7pr
Motivation
Similar to like a dev express JS lib, doing filter or sort actions on the data grid should redraw the Mui chart based on the new shown dataset
Search keywords: datagrid mui charts