projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e235da
)
Roo/grid/CellSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:39:19 +0000
(15:39 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:39:19 +0000
(15:39 +0800)
Roo/grid/CellSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/CellSelectionModel.js
b/Roo/grid/CellSelectionModel.js
index
5abe724
..
a015fee
100644
(file)
--- a/
Roo/grid/CellSelectionModel.js
+++ b/
Roo/grid/CellSelectionModel.js
@@
-201,18
+201,22
@@
Roo.extend(Roo.grid.CellSelectionModel, Roo.grid.AbstractSelectionModel, {
case e.DOWN:
newCell = walk(r+1, c, 1);
- break;
+ forward = true;
+ break;
case e.UP:
newCell = walk(r-1, c, -1);
- break;
+
break;
case e.RIGHT:
newCell = walk(r, c+1, 1);
- break;
+ forward = true;
+ break;
+
case e.LEFT:
newCell = walk(r, c-1, -1);
- break;
+ break;
+
case e.ENTER:
if(g.isEditor && !g.editing){