PDA

View Full Version : Deselect/Unselect all cells in Grid



rarerules
11 May 2007, 12:11 PM
Is there a programmatic way of deselecting all cells in an EditorGrid (with a CellSelectionModel)?

Basically, on some event I need no cells to be selected, like when the grid first loads.

Thanks!:)

jsakalos
11 May 2007, 12:18 PM
http://extjs.com/deploy/ext/docs/output/Ext.grid.CellSelectionModel.html#clearSelections (http://extjs.com/forum/../deploy/ext/docs/output/Ext.grid.CellSelectionModel.html#clearSelections)