Posted 3 June 2021, 7:27 am EST
Hi,
I’m trying to delete entire selected rows (which i’m getting from getSelectedRows() function and my row contains both readonly and editable items) on delete button click. But i’m unable to achieve this.
I used [allowDelete] = “true” initially but it was deleting the selected row using “delete key” . I want to achieve the same functionality but using the delete button.
I’ve created a snippet for the same.-
https://stackblitz.com/edit/angular-ecgjl1?file=src/app/app.component.ts