Skip to Content
May 17, 2016 at 04:29 AM

UI5 Table Binding


Hi team,

I m stuck with binding in one of my view.

I have created Master detail page application. I want to update my detail page table into the Master page.

Below is the code that i have defined in the XML in details view there are more columns.

<Table id="Travel" >


<Column width="12em">

<Text text="Trip Number" />





<Text text="{REINR}" />





and in the Master controller.

var table = view1.byId("Travel");"/get_Travel_details", null, [ "$filter=REINR eq '"

+ path1.REINR + "' and SEQ eq '" + path1.REINR + "'" ], false,

function(data, response) {

json1 = new sap.ui.model.json.JSONModel(data);

table.setModel(json1, "/");


here i got the response in the JSON object.

I can't use the bind aggregation method in this case. because cells are already defined in the view.