PDA

View Full Version : Disable SHIFT key in Ext.selection.Model mode:"MULTI"



slan
26 Sep 2013, 3:30 AM
Hello,
I want to use grid with multiselect, however i dont need selection on pressed SHIFT key. I only want selection on CTRL key.
How to disable this behaviour?

ettavolt
27 Sep 2013, 12:24 PM
You need to override this method (http://docs.sencha.com/extjs/4.2.1/#!/api/Ext.selection.Model-method-selectWithEvent) in the instance of your selection model.