on 10-19-2015 8:45 AM
You can do that with Nav Container, more details regarding Nav Container - SAPUI5 Explored
JSbin Example: JS Bin - Collaborative JavaScript Debugging
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vladimirs
I am trying to hide some page elements based on the item selected from the combo box. For this i need to write multiple if statements based on the id of the selected item. Can you please give me a clue on how to proceed with this approach.
Regards,
Virendra Soni
Hi Virendra,
You mean something like this? Plunker
If you click on First Button, you will get an alert to select Second/Third Button.
If you click on Second Button,it will navigate to second page which consists of three columns in table (With Availability column Visible).
If you click on Third Button, it will navigate to second page which consists of two columns in table (With Availability column Invisible).
Instead of Button press, you have to use the selectionChange event of the combo box to catch the item selected, everything else logic remains same.
Regards,
Sai Vellanki.
Hi Virendra,
You can get the selected Item Text/Key value like this -
selectionChange: function(oEvent){
var oKey = oEvent.getParameter("selectedItem").getKey();
var oText = oEvent.getParameter("selectedItem").getText();
}
Then depending on the value, you can handle if else logic.
Regards,
Sai Vellanki.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
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.