I have a Mui-DataTable and I need to personalize the rows selection. In the documentation, I found the “isRowSelectable” function. But this method returns me only two parameters: dataIndex and selectedRows. In my table, I have a column called status, with two states: active and inactive. When the row status is inactive, I need to disable the row selection. Unfortunately, the “isRowSelectable” API doesn’t return my data to compare the status and, so, enable or disable my row selection.
I am exporting
DataGrid @mui/x-data-grid table using
Is it possible to store these selected filters in a variable and have it updated as well when the use selects another set of filters? If so, how?
I have this array and I can already display it on the screen. I’m wondering if I can put a line break for each of the data it displays.
"mui-datatables": "^4.2.2", with react js 17 to handle datatable.
I am trying to set a filter from outside the mui-datatable. I would like to pass in the value of the filter from actions outside of the table. For example click a button which has a preset filter. Is there an api to take an external event and change the filter state of the table?