How to remove checkall option in extjs checkboxmodel?
问题 How to remove check all option is extjs 4 checkboxmodel? Regards 回答1: When defining a grid (in 4.2.1), set this config option to: selModel: Ext.create('Ext.selection.CheckboxModel', { showHeaderCheckbox: false }), (The relevant part is showHeaderCheckbox :false ) 回答2: I have managed to hide it using pure CSS: Code: .x-column-header-checkbox {display:none;} 回答3: When you're creating your checkboxmodel , try specifying injectCheckbox: false into its configuration. From the API: Instructs the