vendredi 23 janvier 2015

Can't get grid multi selection working

Ext.grid.Panel.multiSelect has been deprecated. So, how do I do it now? This doesn't work:


Code:



{
xtype: 'grid',
store: Ext.create('Ext.my.store.content.standard.Store'),
selModel: Ext.create('Ext.selection.Model', {mode: 'MULTI'}),
selType: 'rowmodel',
columns: [{
text: loc.stepRulesColRuleName,
dataIndex: 'title',
flex: 2,
renderer: this.ruleNameColumnRenderer
}]
}

In fact, this prevents ANY selection at all!

What is the new-and-improved ExtJS 5 way of doing grid multiSelect row selection?

Thanks!



Can't get grid multi selection working

Aucun commentaire:

Enregistrer un commentaire