I have an ajax request which returns about 1300 json objects. Out of this objects i populate some ArrayProxies and views. Each ArrayProxy and therefore view contains about 15 objects and detailed informations about these objects.
Because of some logic here and there i takes about 5 seconds till all the data is loaded.
Now i need to know how i could make something like a loading bar or at least render each view seperatly.
My ajax loading code is simple:
$.getJSON('http://json.url, function(data) {
$.each(data, function(i, obj) {
var obj = App.ObjModel.create(obj);
if (obj.get('isCalculable')) {
App.ObjController.addObj(obj);
}
});
});
But how can i tell the Application to render the view after some conditions return true?
Thx for any help, Dima