Click here and follow my SAP UI5/FIORI snippets and information Page
bindItems(path,template)
Example:-
var list=this.getView().byId("list_Id");
var stanardListItm=new sap.m.StandardListItem({
title:"{fname}",
counter:"{mob}"
});
list.bindItems("/Records",stanardListItm);
bindAggregation(aggregation, path, template)
Example:-
var stanardListItm=new sap.m.StandardListItem({
title:"{fname}",
counter:"{mob}"
});
var list=this.getView().byId("list_Id");
list.bindAggregation("items", "/Records",stanardListItm);
bindItems(path,template)
Example:-
var list=this.getView().byId("list_Id");
var stanardListItm=new sap.m.StandardListItem({
title:"{fname}",
counter:"{mob}"
});
list.bindItems("/Records",stanardListItm);
bindAggregation(aggregation, path, template)
Example:-
var stanardListItm=new sap.m.StandardListItem({
title:"{fname}",
counter:"{mob}"
});
var list=this.getView().byId("list_Id");
list.bindAggregation("items", "/Records",stanardListItm);
Nice and useful post thank you for sharing. Know more about SAPUI5 Training
ReplyDeletethanks a lot
Delete