DeLe
DeLe

Reputation: 2480

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

Upvotes: 1

Views: 2339

Answers (1)

Reimius
Reimius

Reputation: 5712

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

Upvotes: 1

Related Questions