PDA

View Full Version : CellSelectionModel - no selection given



R56
28 Jul 2011, 10:00 AM
Ext 4.0.2a
Chrome 12, Firefox 4.0.1

Cellselectionmodel doesn't give selection anymode(it worked in the previous version).
Go to: http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/cell-editing.html
Code used:


Ext.getCmp('gridpanel-1014').getSelectionModel().getCount();
The id used in the getCmp might be something different.
You can also look the Mixedcollection at the getSelectionModel.selection.
Get the count with a selection and without one... I get 0 in the both cases.
Compare it with the rowselectionmodel at http://dev.sencha.com/deploy/ext-4.0.2a/examples/grid/grid-plugins.html.

R56
29 Jul 2011, 6:41 AM
bump.