1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    10
    Vote Rating
    0
    Bill_Gates is on a distinguished road

      0  

    Default binding boolean to a CheckBox field

    binding boolean to a CheckBox field


    hi. this is a two-part question.

    1) i have a simple model data object with a field of a boolean type. i was wondering if it possible to bind it to a CheckBox field?

    2) is it possible to nest such a CheckBox field in an EditorGrid as a value? just to be clear, i am not looking to use CheckBox as a way to select rows in a grid, but rather as a value representing a boolean field of my model data.

    thank you!

  2. #2
    Sencha - GXT Dev Team
    Join Date
    Feb 2009
    Location
    Minnesota
    Posts
    2,731
    Vote Rating
    90
    Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light Colin Alworth is a glorious beacon of light

      0  

    Default


    1) Yes, a CheckBox is a Field, and can be used in FieldBinding.

    2) Yes, you can use a CheckBox field in editing, same as any other Field - see http://www.sencha.com/examples-2/#editablegrid or http://www.sencha.com/examples-2/#roweditorgrid for two different ways this could be achieved.

  3. #3
    Sencha User
    Join Date
    Jan 2012
    Posts
    10
    Vote Rating
    0
    Bill_Gates is on a distinguished road

      0  

    Default


    thank you, Colin.

Thread Participants: 1

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