Hi,
I want to filter all table data when I press a button. I want to do the filtering from server side. I can read filtered data from OData but I couldn't manage to bind it to table again. Here is my code:
filterTableModel : function(oEvent){
var falTbl = this.getView().byId("faaliyetTbl"); //get the table
var tempModel = falTbl.getModel(); // get table model
tempMode.read("/FaaliyetServisiSet",null,["$filter=(Klnad eq 'BURAKC')"],true,null,null); // here I can see the filtered content from Chorme debug
}
As you can see I couldn't find the proper code to bind the model back to table. What should I use?