View Full Version : EditorGridPanel.getSelectionModel Documentation issue

Tim Toady
15 Dec 2010, 6:04 AM
Sorry if this isn't the right place to put this. Didn't know where the proper place is.

Returns the grid's selection model configured by the selModel (http://dev.sencha.com/deploy/dev/docs/output/Ext.grid.GridPanel.html#Ext.grid.GridPanel-selModel) configuration option. If no selection model was configured, this will create and return a RowSelectionModel (http://dev.sencha.com/deploy/dev/docs/output/Ext.grid.RowSelectionModel.html).

* @cfg {Object} selModel Any subclass of AbstractSelectionModel that will provide the selection model for
* the grid (defaults to {@link Ext.grid.CellSelectionModel} if not specified).
this.selModel = new Ext.grid.CellSelectionModel();

15 Dec 2010, 6:56 AM
Thanks for the report. Well get that fixed.

That particular doc is inherited from the GridPanel, which is why it's not accurate for the EditorGridPanel.