2016-09-14 3 views

답변

0
selModel: { 
        selType: 'checkboxmodel', 
        //mode: 'SINGLE', 
        headerWidth: 62, 
        //checkOnly: false, 
        checkOnly: true,//this will check only when you click on checkbox 
        allowDeselect: false, 
        ignoreRightMouseSelection: true, 
listeners: { 
        'selectionchange': Ext.bind(function (view, records) { 

        },this) 
       } 
       }, 

문서 : 당신이 사용하는 경우 http://docs.sencha.com/extjs/4.2.2/#!/api/Ext.panel.Table-cfg-selModel

당신이

이 양식을 우리가 선택할 수있는 헤더의 체크 상자를 얻을 선택을 취소합니다