PDA

View Full Version : misnamed event in Ext.grid.CellSelectionModel.initEvents



rogers_reilly
21 Feb 2007, 8:13 PM
this may be causing the EditGrid example to bomb out ... with this fix, I am able to get the EditorGrid (with simple TextFields, anyway) live in my app.

line 21089 of ext-all-debug.js:
view.on("beforerowsremoved", this.clearSelections, this);
should be
view.on("beforerowremoved", this.clearSelections, this);

the extra "s" in "beforerowsremoved" was causing the EditorGrid to throw an error during initial rendering, event not found.