on 07-05-2021 4:24 AM
Hi All,
We are developing an industry cloud solution. We are using fiori elements that consumes oData v2 service generated from CAP module. We have to add a Custom Filter in the List report page and i was able to add it using the steps provided in the below documentation.
https://sapui5.hana.ondemand.com/sdk/#/topic/3a515829ffd74239878ebc0d453d001d
But for some reason i am unable to change the position of the Custom Filter. I used the index property in the Control Configuration to position the filter. But it does not work. It always comes as the 1st Filter in the List Report. I want to display this as the last filter item.
<smartfilterbar:ControlConfiguration key="CustomSignedStatus" index="7" visibleInAdvancedArea="true" groupId="_BASIC" label="{i18n>SignedStatus}">
<smartfilterbar:customControl>
<ComboBox>
<core:Item key="Y" text="{i18n>Yes}"/>
<core:Item key="N" text="{i18n>No}"/>
</ComboBox>
</smartfilterbar:customControl>
</smartfilterbar:ControlConfiguration>
Please let me know if the index property works or is there any other way that i can position the custom filter.
I tried with different UI5 versions - 1.84.15, 1.86.0 - result is the same.
Thanks,
Kachin
Hello,
Please specify a higher index value , like 100 and above for custom filter fields if it has to be displayed after all the filter fields.
To check the specific index values of other filter fields please check the metadata of the filter field where the index value is present (in oFieldViewMetadata).
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.