projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1317650
)
Roo/grid/CellSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Apr 2012 07:02:51 +0000
(15:02 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 5 Apr 2012 07:02:51 +0000
(15:02 +0800)
Roo/grid/CellSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/CellSelectionModel.js
b/Roo/grid/CellSelectionModel.js
index
2123eea
..
64e7194
100644
(file)
--- a/
Roo/grid/CellSelectionModel.js
+++ b/
Roo/grid/CellSelectionModel.js
@@
-291,11
+291,14
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
}else if(k == e.ESC){
ed.cancelEdit();
}
-
-
+ if (newCell) {
+ var ecall = { cell : newCell }
+ this.fireEvent('beforeeditnext', ecall );
+ newCell = ecall.newCell;
+ }
if(newCell){
-
- this.fireEvent('beforeeditnext',newCell);
+ // can modify new Cell
+
//Roo.log('next cell after edit');
g.startEditing.defer(100, g, [newCell[0], newCell[1]]);