Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Tarteens
    Guest

    Default [CLOSED] [GXT 2.0-M1] Grid & CheckBoxSelectionModel

    [CLOSED] [GXT 2.0-M1] Grid & CheckBoxSelectionModel


    Hi everyone,

    Here's my problem, I have a Grid with a CheckBoxSelectionModel :



    The Behavior I want is :

    1) When you click on the checkbox, it select / deselect the row (it does)

    2) When you have an selection, and you click on the label, it doesn't deselect all the other row, but it just deselect the row you clicked on.

    In fact, I just want to know if where is a way to distinguish if the click is on the checkbox or on the label.

    Thx for your help.

  2. #2
    Ext User
    Join Date
    Mar 2009
    Location
    Netherlands
    Posts
    69
    Vote Rating
    0
    Rvanlaak is on a distinguished road

      0  

    Default


    And what is the bug?

    The sollution might be to use the same Store

  3. #3
    Software Architect
    Join Date
    Sep 2007
    Posts
    13,971
    Vote Rating
    132
    sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light sven is a glorious beacon of light

      0  

    Default


    This is not really a bug. You can define your own CheckBoxSelectionModel to do that.

  4. #4
    Sencha User
    Join Date
    Mar 2011
    Posts
    1
    Vote Rating
    0
    vachoh is on a distinguished road

      0  

    Default


    Maybe someone still needs this :
    Code:
    class CustomCheckBoxSelectionModel<M extends YourObject> extends CheckBoxSelectionModel<M>{
            @Override
            protected void handleMouseClick(GridEvent<M> e)
            {
            if (e.getTarget().getClassName().equals("x-grid3-row-checker"))    {             
               // clicked on the checkbox
            }
            }
    
            @Override
            protected void handleMouseDown(GridEvent<M> e){
                if (e.getTarget().getClassName().equals("x-grid3-row-checker")){                 
                  // clicked on the checkbox                
                }
            }        
        }

Thread Participants: 3

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