odata call with filter
I am using odata to display data in a UI5 table like below:
var oModel= new sap.ui.model.odata.ODataModel( ".../customer_at.xsodata/", false);
oTable.bindRows("/_customer_at?$filter=ACTIVE_FLAG eq 'Y'");
Data is being displayed as expected in the table.
But when I try to filter on any of the fields in the table, no data is being displayed.
In other words, the problem is - if I use a filter in the odata call, I can't filter on any field in the table.
Appreciate any thoughts on this.