1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    singlaive is on a distinguished road

      0  

    Default Unanswered: Is there a boolean xtype?

    Unanswered: Is there a boolean xtype?


    The scenario is I am building a grid using rowEditor plugin. One row is about data of boolean. When editing, it will be treated as text field by default. This means people can update 'true/false' to any funny text. So is there any boolean xtype that I can restraint it here? I saw different kinds of xtypes of datefield, numberfield or combox, but no boolean one.

    Sorry I tried reading books and online API doc but did not find a obvious answer.

  2. #2
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    175
    Answers
    23
    Vote Rating
    13
    EPV will become famous soon enough

      1  

  3. #3
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,913
    Answers
    371
    Vote Rating
    179
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    You might also check out the boolean column type.
    http://docs.sencha.com/ext-js/4-1/#!...column.Boolean

  4. #4
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    175
    Answers
    23
    Vote Rating
    13
    EPV will become famous soon enough

      0  

    Default


    The booleancolumn isn't editable is it?

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    singlaive is on a distinguished road

      0  

    Default


    Quote Originally Posted by EPV View Post
    Thanks EPV, I might go with checkbox. But going back to my original question, there is no xtype of boolean is there?

  6. #6
    Sencha Premium Member EPV's Avatar
    Join Date
    Dec 2010
    Location
    Sweden
    Posts
    175
    Answers
    23
    Vote Rating
    13
    EPV will become famous soon enough

      0  

    Default


    No, there's no xtype that has the name 'boolean'.

  7. #7
    Sencha User
    Join Date
    Feb 2013
    Posts
    10
    Vote Rating
    0
    singlaive is on a distinguished road

      0  

    Default


    Fair enough...

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