ngTable, how to load new data after withstanding data has been seen

点点圈 提交于 2019-12-12 02:42:59

问题


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.

来源:https://stackoverflow.com/questions/38769681/ngtable-how-to-load-new-data-after-withstanding-data-has-been-seen

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!