on 2021 Mar 17 12:13 PM
Hi All,
I am working on Custom SAPUI5 Application development using SmartControls. I have used SmartFilter Bar in my application. Date field is one of the filter bar items in the SmartFilter bar.
I need to apply the default value (Last 10 days) in the Smart Filter bar - Date field.
i am not using fiori elements. normal smart controls.
Thanks,
Regards,
Jayakrishnan.
Request clarification before answering.
Hi jayakrishnan.chnadramohan,
You need to customize the smart Filter Bar and set the default value for it by using its Id. Check the below code for reference.
<smartFilterBar:ControlConfiguration id="idControlConfigDate" key="Doj" controlType="date" visibleInAdvancedArea="true" preventInitialDataFetchInValueHelpDialog="false">
<smartFilterBar:customData>
<core2:CustomData id="IdSmartDate" key="dateFormatSettings"></core2:CustomData>
</smartFilterBar:customData>
</smartFilterBar:ControlConfiguration>
Regards,
Chaitali Pandya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
63 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.