ext grid checkbox

var sm = new Ext.grid.CheckboxSelectionModel(); 
        sm.handleMouseDown = Ext.emptyFn;//不响应MouseDown事件 
        sm.on('rowselect',function(sm_,rowIndex,record){//行选中的时候 
            
        }, this); 
        sm.on('rowdeselect',function(sm_,rowIndex,record){//行未选中的时候 
            
        }, this); 

你可能感兴趣的:(ext)