Hey,
i'm new to the topic UI5. I just test with the demo RMTSAMPLEFLIGHT and output as a table. The output of simple fields such as "fldate" works fine. But how can i access or bind with fields of sub-objects like "flightdetails"
works fine:
oTable.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "Date"}), template: new sap.ui.commons.TextField().bindValue("fldate"), sortProperty: "fldate" }));
don't works:
oTable.addColumn(new sap.ui.table.Column({ label: new sap.ui.commons.Label({text: "from Country"}), template: new sap.ui.commons.TextField().bindValue( "flightDetails/countryFrom"), sortProperty: "flightDetails/countryFrom" }))
On Screen you can see, that the object exist.
It would be nice if someone can help me
Thanks al lot
Danny