cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How can I link the number of applied custom filters to filter count in smart filter bar in sap ui5

519

I have a smart filter bar in which I have added some customized filters. I have written the following code for the same :

<smartFilterBar:SmartFilterBar id="smartFilterBar" filterBarExpanded="false" persistencyKey="brandname"
entitySet="product_forecastedinventory" enableBasicSearch="false" liveMode="false" showGoOnFB="true" search="handleGo">
<smartFilterBar:controlConfiguration>
<smartFilterBar:ControlConfiguration key="productname" visibleInAdvancedArea="true" label="{i18n>ProductName}"
preventInitialDataFetchInValueHelpDialog="false">
<smartFilterBar:customControl>
<MultiInput id="productname" valueHelpOnly="false" showValueHelp="false"/>
</smartFilterBar:customControl></smartFilterBar:ControlConfiguration>

But when I apply any customized filter, the 'Filter' count in the smart filter bar does not change :


When I click on 'Filters' on the top right corner of the smart filter bar and add filters from there, the filter count changes :

I would be glad if someone could tell me how can I increase the filter count when customized filters are applied and if that's not possible, how could I remove the filter count.

Thanks in advance 🙂

View Entire Topic
BharathM
Participant
0 Kudos

This might help.

SAPUI5 smart controls tips and tricks - YouTube

Thank,

bharathmuppaneni