Hybrid View

  1. #1
    Ext JS Premium Member
    Join Date
    Feb 2010
    Location
    Vancouver, BC
    Posts
    191
    Vote Rating
    0
    rkim is on a distinguished road

      0  

    Default checkbox default value

    checkbox default value


    The main value of a checkbox is a boolean, indicating whether or not the checkbox is checked. The following values will check the checkbox:
    • true
    • 'true'
    • '1'
    • 'on'
    Above doesn't seem to work

    Code:
    {
                          id        : 'complexity',
                          name      : 'complexity',
                          xtype:"checkbox",
                          value: "1"
     }

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,108
    Vote Rating
    31
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    it works with setValue but in the config it conflicts with the checked property wich is set default on false.

    I think in the config the checked property is leading.

  3. #3
    Sencha User
    Join Date
    Jun 2012
    Posts
    1
    Vote Rating
    0
    kabum is on a distinguished road

      0  

    Default


    But then the documentation is wrong.

    Either it's a bug or the documentation should be adapted.

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