You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2025. It is now read-only.
I set up my controller to get dtInstance through the two-way data binding as described in the v0.4.3 release notes. When I add the following statement to the controller function (to do an automatic update of the table contents every 5 seconds) you see the "Loading..." message instead of the current contents of the table, and half of the time the vm.dtInstance object is logged as Object {}.
I'm stripping all things unrelated from my app so I can make a Plunk for it. This seems to be more work than I anticipated, but I hope to have one set up tomorrow.
I made a Plunk that shows the issue. On v0.5.0 the table is updated after the promise is resolved, on v0.5.1 the table is replaced with the "Loading..." until the promise is resolved. I built in an ugly delay to simulate the delay on the $resource call to emphasize the issue.
I put both in the same plunk. Only the version of angular-datatables is different, so other than the html file both are equal.
I set up my controller to get dtInstance through the two-way data binding as described in the v0.4.3 release notes. When I add the following statement to the controller function (to do an automatic update of the table contents every 5 seconds) you see the "Loading..." message instead of the current contents of the table, and half of the time the vm.dtInstance object is logged as Object {}.
What would be the proper way to automatically update the contents of the table? Is this still possible in 0.5.1?
The text was updated successfully, but these errors were encountered: