-->

ngTable, how to load new data after withstanding d

2019-09-13 05:24发布

问题:

I am using ngTable to show records to user, calling for data after every page would be pointless because I'll be just overusing the server when it isn't even necessary.

What I want to do is to add new data to the whole thing after the user has seen the old data completely. Let's say when the page is loaded I am loading 100 records and now ngTable will be able to show 100 data to the user. Now, when the user has seen 100 data I want to make a fresh request and update the table with new data elements.

I am clueless on how to make this work as something like this isn't mentioned anywhere in their official documentation or stackoverflow either.