on 11-04-2013 3:25 PM
The title of this post doesn't really explain well. I want a placeholder property to contain the returned value of the quantity ordered, minus the quantity received, and I'm trying to do it in the controller.
qtyO = new sap.m.Input({
type: sap.m.InputType.Number,
placeholder: "{QtyOrdered}" - "{QtyReceived}",
width: "100px",
enabled: false,
change: function (evt) {
refreshList(evt);
}
}),
I think what I'm trying here isn't following the strings as paths, as it returns NaN. Is there a simple way to doing this? Or would it be better done on the backend?
Hi Jackie,
You could use calculated fields.
Find below example of above code edited
http://jsbin.com/afif/105/edit
Thanks and Regards,Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.