on 08-31-2015 1:42 PM
I have 2 checkboxes.I want to show if first checkbox is selected then only second will be visible.I have written following code
View xml
<CheckBox text="APO" selected="{Apo}" id="cbk3" change="oncbch"/>
<CheckBox text="MM" selected="{Mm}" id="cbk7"/>
Controller View
oncbch:function(oControlEvent)
{
debugger;
var state = oControlEvent.getParameters().state;
this.byId("cbk7").setVisible(!state);
},
but its not woking Please help
this.byId("cbk7").setVisible(this.getView().byId("cbk3").getSelected());
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.