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
    113
    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 Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,585
    Answers
    540
    Vote Rating
    319
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi