ng-table reload does not seems to work if the data changes

438 views
Skip to first unread message

prabhu pandurangan

unread,
Apr 6, 2016, 10:41:12 PM4/6/16
to AngularJS
Hi All,

I have a ng-table painted with collection of 12 items and pagination set for 10 per page and in my case i have 2 pages;  now i have a option to delete my records from ng-table so i delete 2 records and my ng-table has to auto-refresh/reload and display only 1 page; but it is showing the 2nd page with no data but the header is displayed.  This goes away once the page is refreshed; but i need the ng-table to be reloaded if there is any change in the data.

Any suggestions please.  I tried $scope.tableParams.reload(), but it does not help me.

Regards,
Prabhu
Reply all
Reply to author
Forward
0 new messages