Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get filtered values from MUI datagrid

Is it possible to get values from mui DataGrid?

I have a table and i want to have a custom export based on user filter and columns that are hidden or displayed but i need these filtered values. There is any way to get this from DataGrid?

like image 757
Alexsandro Xavier Da Silveira Avatar asked Feb 01 '26 14:02

Alexsandro Xavier Da Silveira


1 Answers

You may want to use the gridFilteredSortedRowIdsSelector Most of the useful seletors for exporting are defined in the "Exported rows" section

like image 82
Alexandre Fauquette Avatar answered Feb 04 '26 03:02

Alexandre Fauquette



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!