how i get the selected value + radio button list?
Could you please provide more details? Do you mean a list with items featuring radio buttons?
As to selection, if you speak about a data component (e.g. list) - you call list.getSelectedId();
If it’s a control with multiple choice ability - you call control.getValue();
how i print select item id ?
view: “radio”, labelWidth: 120, id: “radio21”, value: 1, gravity: 6, options:
[
{ id: 1, value: “ITEM 1” },
{ id: 2, value: “ITEM 2” }
]
,on: {
‘onItemClick’: function (id) {
alert(“selected item id”)
}
}
Use the onChange event then: