Hi is there a way in Ember to lazy load stuff into a table? I am loading the first page initially but then as the user scrolls down I want to load ping the second page API call and add that into the table. Is there a way of doing that in Ember? A link to a tutorial will be highly appreciated. I cannot seem to find one
1 Answer
Ember-Table is a pre-built component that does exactly that.
4 Comments
Jonathan
GJK, by lazy loading data you mean using jQuery Promises right?
GJK
By lazy loading, I mean fetching the data via AJAX requests when it's needed and not before. You can accomplish that multiple ways. jQuery Promises is one way to do that, but since you're working with Ember, Ember-Data (or one of it's alternatives) would probably integrate nicer.