on 09-18-2014 8:51 AM
Hi,
We have configured a standard "Track Purchase Order" Fiori application.
We want to change the Default Filter Criteria from "Last 7days" to "Last 30 days". Is there any configuration available, where we can change this?
Regards,
Yuvraj
Hi Yuvraj,
You can achieve this by extending controller S2Custom.controller.js .
Change the default declaration to:To display last 30 days items by default
sFilterLastNDays : 30,
sFilterWithAlerts : false,
sSearchText : "",
sFilterKey : "FILTER30",
oFilterDialog : null,
and change the default setting of init method to: to set the default filter from 7 days to 30 days
this.oFilterDialog.setSelectedPresetFilterItem("FILTER30");
Regards,
Trilochan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.