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,120
    Vote Rating
    508
    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

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar