Skip to Content
Former Member
Apr 25, 2015 at 09:32 PM

Passing OData filters in XML views


Hello Experts,

I have an XML view with a sap.m.Tablecontrol in it.

The code looks like

<Table id="historyTable" noDataText="No data" items="{/OrderHistortySet}" mode="None" >

The table is bound to oData model.

I need to pass filter for the EntitySet when the table is rendered .The filter value would be available only at the runtime.

I found sap documentation Using Extended Syntax to Add Filters and Sorters - UI Development Toolkit for HTML5 (SAPUI5) - SAP Library. But this is a static filter.

How can I achieve a dynamic filter on my table in the XMLview.