PDA

View Full Version : How to prevent cell selection in the grid?



alexLis
7 Sep 2011, 5:33 AM
How to prevent cell selection in the grid?

ValterBorges
7 Sep 2011, 6:05 AM
What's your selection model?

You can listen for before events on the grid cells and cancel - return false or process the events based on the value or state of the form or grid.

skif
17 Apr 2012, 4:42 AM
I need the same behavior. The cell of the special column should not be selected. I use the cell selection model and try to catch 'beforeselect (http://docs.sencha.com/ext-js/4-0/#%21/api/Ext.panel.Table-event-beforeselect)' event but it's not fired. How to sort out this?