Smart-Table icon indicating copy to clipboard operation
Smart-Table copied to clipboard

Delete row after searching

Open Fossil01 opened this issue 6 years ago • 1 comments

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?

Fossil01 avatar Feb 02 '18 14:02 Fossil01

can you please provide a running example of your issue

lorenzofox3 avatar Feb 02 '18 15:02 lorenzofox3