daniel-nagy / md-data-table

Material Design Data Table for Angular Material
MIT License
1.9k stars 519 forks source link

How to remove a row? #288

Closed reginaldlouis closed 8 years ago

reginaldlouis commented 8 years ago

Is there a way to remove rows directly. Right now, if a delete a row on my database, I have to reload the model so the the change on the table.

daniel-nagy commented 8 years ago

If you are using ng-repeat to display the rows then all you need to do is remove the item from the list of items. If it is selected you will also want to remove it from the list of selected items.