The code is as follows :
var oModel = new sap.ui.model.odata.ODataModel("http://saturn.intelsys.eu:8000/sap/opu/sdata/IWFND/SAMPLEFLIGHT", true); var oControl = new sap.ui.commons.TextView().bindProperty("text","carrid"); oControl.setModel(oModel); oControl.bindElement("/FlightCollection(carrid='AC')"); oControl.placeAt("content");