1. #1
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36
    Vote Rating
    0
    ilija139 is on a distinguished road

      0  

    Default How to cancel selection of a list item?

    How to cancel selection of a list item?


    I have tried using the following code

    Code:
    listeners:{ 
               select:function(){       return false;  }
    }
    but it doesn't work, even though the function gets called. And according to the docs "
    This action following this event is
    preventable. When any of the listeners returns false, the action is cancelled.".

    Am I interpreting this wrong?

  2. #2
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36
    Vote Rating
    0
    ilija139 is on a distinguished road

      0  

    Default


    Also I'm trying to call getCount( ) on the list object with no success.

  3. #3
    Sencha User
    Join Date
    Apr 2008
    Posts
    51
    Vote Rating
    0
    Michou is on a distinguished road

      0  

    Default


    in [B2] there is a config option :
    Code:
    disableSelection: true

  4. #4
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36
    Vote Rating
    0
    ilija139 is on a distinguished road

      0  

    Default


    That will disable all selection. I want to disable a selection after some number of selections has been made, i.e. to limit the number of selected items.

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