Hello Friends,
I tried to understand about binding subject in UI5 but didn't didn't grab much knowledge as of now.
In the below code for Item binding,
What does "/results" mean in the statement?
My side i have checked, results is no where is used or declared, But i could see output only when i use "/results" during binding.
Kindly explain its characteristics.
oTable.bindItems("/results", template, null, oFilters);____________________________________________________________________________
var template = new sap.m.ColumnListItem({ id : "first_template", type : "Navigation", visible : true, cells : [ new sap.m.Label("ID", { text : "{Empid}" }), new sap.m.Label({ text : "{Empname}" }), new sap.m.Label({ text : "{Empadd}" }), new sap.m.Label({ text : "{Empdes}" }) ] }); var oFilters = null; oTable.bindItems("/results", template, null, oFilters);__________________________________________________________________________
Thanks,
Prakash