on 11-19-2015 12:50 PM
Hi All,
please let me know how to get the text displayed next to selected checkbox .
below is my code.
var oButton1 = new sap.m.CheckBox({
text : "CheckBox1
checked : false,
select : this.boxSelected
});
boxSelected:function(oEvent) {
var bSelected = oEvent.getParameter('selected').
}
please let me know how to use "getText()" in the 'boxSelected' function
Regards,
Shaik
To use getText in that function:
boxSelected:function(oEvent)
{
var bSelected = oEvent.getParameter('selected')
var checkbox = oEvent.getSource();
var text = checkbox.getText();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.