material-table
material-table copied to clipboard
Is it possible to hide instead of disable buttons with isEditable?
Looking to hide the buttons when they aren't editable as they'll be replaced with action buttons.
You can replace 'disabled' with 'hidden' or add it by modifying '/material-table/dist/material-table.js' onRowUpdate and onRowDelete.
disabled: calculatedProps.editable.isEditable && !calculatedProps.editable.isEditable(rowData)
v1.54.0 ( isEditable/isDeletable don't work after)