Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
57
rated 0 times [  62] [ 5]  / answers: 1 / hits: 22305  / 13 Years ago, wed, february 29, 2012, 12:00:00

I may be missing something, but how do I programmatically check a radiobutton using ExtJS (v 3)?



The following doesn't seem to always work



var radio = Ext.get(myradiobutton);



radio.set(checked,);



The radio is sometimes checked, sometimes not...



radio.is(:checked) sometimes return true, sometimes false



Thanks


More From » extjs

 Answers
1

Why not just use the DOM?



Ext.getDom('myradio').checked = true;

[#87149] Monday, February 27, 2012, 13 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
savanar

Total Points: 237
Total Questions: 105
Total Answers: 99

Location: Wales
Member since Mon, May 17, 2021
3 Years ago
;