Skip to content
This repository has been archived by the owner on Apr 17, 2019. It is now read-only.

Data not updated in view after AJAX filter. #352

Open
kirobo opened this issue Nov 4, 2015 · 2 comments
Open

Data not updated in view after AJAX filter. #352

kirobo opened this issue Nov 4, 2015 · 2 comments

Comments

@kirobo
Copy link

kirobo commented Nov 4, 2015

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
Copy link
Author

kirobo commented Nov 4, 2015

Somebody please answer!

@timgws
Copy link
Collaborator

timgws commented Nov 6, 2015

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants