1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    Estonia
    Posts
    198
    Answers
    2
    Vote Rating
    0
    mmuruev is on a distinguished road

      0  

    Default Unanswered: Radiobutton how make checked?

    Unanswered: Radiobutton how make checked?


    I know that property checked exist, but how I can select/unselect from a function? Which method I should use?

  2. #2
    Sencha - Community Support Team
    Join Date
    Jan 2012
    Posts
    1,376
    Answers
    346
    Vote Rating
    109
    vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all vietits is a name known to all

      0  

    Default


    You can use <radio>.setRawValue(Boolean). See it more at http://docs.sencha.com/ext-js/4-1/#!...od-setRawValue

  3. #3
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,341
    Answers
    498
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      1  

    Default


    For a single radio button just call:

    Code:
    radio.setValue(true);
    If you're using a radiogroup then you could use the setValue method on there instead.

  4. #4
    Sencha Premium Member
    Join Date
    Aug 2012
    Location
    Estonia
    Posts
    198
    Answers
    2
    Vote Rating
    0
    mmuruev is on a distinguished road

      0  

    Default


    Thanks a lot it helps. Another question appear I use multiselect and radio on one field. Problem is that if I do that multiselect not show me values that already selected. If I use different fields for radio and multiselect everything OK except I have to chose in radiobuttons positions if multiselect have values. How better do that? In first way with shared field or just control .

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar