'How to enable/disable multiple rows delete button of Material Ui data table
Using Material UI datatable which has everything searching , pagination and multiple rows delete option. Refer from https://openbase.com/js/mui-datatables/documentation (cannot copy paste sample code from client machine)
I need to restrict delete button access based on delete permission user has,
I am new to React and Material UI, need suggestion on how to enable/disable delete button shown up when we select multiple rows.
Solution 1:[1]
Got example from material ui code it self which help me to have control on delete icon in header when user selects multiple rows.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Darshana |