Hi,
I am not using a sap.ui,com.smarttable.SmartTable but sap.ui.table.AnalyticalTable coz the smart table for some reason doesnt work with the metadata of the xs oData service.
Below is the piece of code:
//VIEW CODE
var oTable = new sap.ui.table.AnalyticalTable({id:this.createId("TableName")});
var column1 = new sap.ui.table.AnalyticalColumn({label:"Column1",template : new sap.ui.commons.Text({editable: true}).bindProperty("value","ABC"),});//ABC is the column name from the backend
oTable.addColumn(column1);
//CONTROLLER
var oModel = new sap.ui.model.odata.ODataModel("http://xxxxx/VIEW.xsodata", true);
var view = this.getView();
var oTable = view.byId("TableName");
oTable.setModel(oModel).bindRows("/CV_UM?$filter=ABC lt 100");
Thanks,
Manoj