responsivetable

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 »