lorenzofox3 / Smart-Table

Code source of Smart Table module: a table/grid for Angularjs
http://lorenzofox3.github.io/smart-table-website/
1.8k stars 513 forks source link

Delete row after searching #831

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi,

So I have a delete button on every row to delete stuff from the table. I send an HTTP request to my API and when that returns 200 I array.splice the item from the collection. This works perfectly unless a user searched for something in the table because that will cause the indexes to be recalculated.

Any way around this?

lorenzofox3 commented 6 years ago

can you please provide a running example of your issue