projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12fa5c3
)
Roo/grid/CellSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 30 Aug 2010 08:35:04 +0000
(16:35 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 30 Aug 2010 08:35:04 +0000
(16:35 +0800)
Roo/grid/CellSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/CellSelectionModel.js
b/Roo/grid/CellSelectionModel.js
index
1d6cb81
..
437553a
100644
(file)
--- a/
Roo/grid/CellSelectionModel.js
+++ b/
Roo/grid/CellSelectionModel.js
@@
-230,11
+230,12
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
}else if(k == e.ENTER && !e.ctrlKey){
ed.completeEdit();
e.stopEvent();
+ newCell = g.walkCells(ed.row, ed.col+1, 1, this.acceptsNav, this);
}else if(k == e.ESC){
ed.cancelEdit();
}
if(newCell){
- g.startEditing
(newCell[0], newCell[1
]);
+ g.startEditing
.defer(100, g, [newCell[0], newCell[1]
]);
}
}
});
\ No newline at end of file