1. #1
    Ext User
    Join Date
    Jul 2007
    Posts
    17
    Vote Rating
    0
    Harsha is on a distinguished road

      0  

    Default How to turn off row selection in Grid?

    How to turn off row selection in Grid?


    I do not want any row/column selection in a Ext.Grid. How I can achieve this?

    Thanks

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,833
    Vote Rating
    609
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Could try something like:

    Code:
    grid.on('rowclick', function(g, index, e) { e.stopEvent(); });
    grid.on('rowcontextmenu', function(g, index, e) { e.stopEvent(); });
    grid.on('rowdblclick', function(g, index, e) { e.stopEvent(); });

  3. #3
    Sencha User castitas's Avatar
    Join Date
    Sep 2011
    Location
    US
    Posts
    116
    Vote Rating
    2
    castitas is on a distinguished road

      0  

    Default


    You can now do this: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.View-cfg-disableSelection

    Edit: You can use disableSelection on a grid, too.
    word

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