on 07-05-2016 3:35 PM
Hello Experts
I followed example SAPUI5 Explored and am trying to make an input field editable on click of a button. In the declaration I have marked it as editable=false which works perfectly fine.
I am using below code to make it editable.
In xml
<Input id = "i4" value="{pid}" width="200px" editable="false"/>
<Input id = "i2" value="{pname}" width="200px" editable="false"/>
On click of button:
self.getView().byId("i4").seteditable(true);
self.getView().byId("i2").setEditable(true);
both commands does not seem to work. what is wrong above?
debug to check if you are able to get the button self.getView().byId("i4")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried bothways, inside and outside table. Check this:
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.