Chumper / Datatable

This is a laravel 4 package for the server and client side of datatables at http://datatables.net/
https://github.com/Chumper/Datatable
388 stars 154 forks source link

Data not updated in view after AJAX filter. #352

Open kirobo opened 9 years ago

kirobo commented 9 years ago

I have a table which has usual View Edit Delete in a column. Now I have 10 enteries on the page, whenever Chumper datatable returns data after AJAX call - like when I filter using search or when I go to next page, the updated views DO NOT have updated IDs

I have a confirmation box on the Delete and after the AJAX call, it doesn't update. The id passed says undefined whereas it functions when page is loaded first.

Please help.

kirobo commented 9 years ago

Somebody please answer!

timgws commented 9 years ago

@kirobo have you seen the network tab (I use Chrome's "Inspect Element" tool to see this). Is a request being made to delete the element? Does the request succeed? Does the datatable refresh?