SAP Knowledge Base Article - Preview

2820814 - View Settings Dialog Preset Filter not resetable via coding from outside

Symptom

Using presetFilterItems aggregation in combination with setSelectedPresetFilterItem method (see ViewSettingsDialog https://sapui5.hana.ondemand.com/#/api/sap.m.ViewSettingsDialog), it is impossible to reset the filter to none when a user presses a button. None of the alternatives below work

this.byId("settingsDialog").setSelectedPresetFilterItem(null);
this.byId("settingsDialog").setSelectedPresetFilterItem("");
this.byId("settingsDialog").setSelectedPresetFilterItem();


Read more...

Environment

SAPUI5 1.60

Product

SAP NetWeaver Application Server for ABAP 7.52 ; SAPUI5 1.0

Keywords

KBA , CA-UI5-CTR , SAP UI5 Controls , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.