简体   繁体   中英

Extjs Grid - selected row without influence to checkboxmodel

i using CheckboxModel like

,selModel: Ext.create('Ext.selection.CheckboxModel', {
        mode: 'MULTI',
        checkOnly: true
}

I want When i click a row and it will be selected. I using

grid.getSelectionModel().select(rowIndex, true);

But that row also turn on Checkbox at the same time.
I want selected row and it don't influence to checkboxmodel thanks

CheckboxModel's purpose is row selection. The functionality you actually want is provided by the Ext.ux.CheckColumn . See the docs at: http://docs.sencha.com/extjs/4.1.0/#!/api/Ext.ux.CheckColumn

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM