on 06-04-2015 8:17 AM
Hello experts,
I am creating a list for displaying 16 items in a view. This is my code in the controller file-
sap.ui.core.mvc.Controller.extend("ABC.view.Master", {
onInit : function() {
this.oInitialLoadFinishedDeferred = jQuery.Deferred();
var oEventBus = this.getEventBus();
oEventBus.subscribe("Detail", "TabChanged", this.onDetailTabChanged, this);
var oList = this.getView().byId("list");
oList.attachEvent("updateFinished", function() {
this.oInitialLoadFinishedDeferred.resolve();
oEventBus.publish("Master", "InitialLoadFinished");
}, this);
My output shows just the 16th record, 16 times in the list.
Is my code wrong?
Any help with changes in my code would be gladly appreciated.
ThankYou
-NK
post code with data loading/binding (xml, controller)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.