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.
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?