UI5

SAP UI5

How to dynamically create a sap.m.table in SAP UI5

Required steps: CODE EXAMPLE SAP M TABLE var jsonData = [ {columnOne : “Data row A1”, columnTwo : “Data row 100”, columnThree : “Data row hundred”}, var jsonModel = new sap.ui.model.json.JSONModel(jsonData); var mTable = new sap.m.Table({ ] }).placeAt(“content”); mTable.setModel(jsonModel); mTable.bindAggregation(“items”, { path : “/”, template : new sap.m.ColumnListItem({ cells : [ new sap.m.Text({ text : …

How to dynamically create a sap.m.table in SAP UI5 Read More »

What is a jQuery Object

A collection of Document Object Model(DOM) elements which are generated from a HTML is called as jQuery object. It is represented as $( ). The elements which are selected are stored in this object. It is much similar to an Array. The selected element or the DOM node index in the SAP UI5 App can …

What is a jQuery Object Read More »