projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cba1284
)
Roo/grid/CellSelectionModel.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:42:30 +0000
(15:42 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 6 Dec 2011 07:42:30 +0000
(15:42 +0800)
Roo/grid/CellSelectionModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/CellSelectionModel.js
b/Roo/grid/CellSelectionModel.js
index
679b9d2
..
231e2ea
100644
(file)
--- a/
Roo/grid/CellSelectionModel.js
+++ b/
Roo/grid/CellSelectionModel.js
@@
-48,7
+48,14
@@
Roo.grid.CellSelectionModel = function(config){
<li>o.cell: An array of [rowIndex, columnIndex]</li>
</ul>
*/
- "selectionchange" : true
+ "selectionchange" : true,
+ /**
+ * @event tabend
+ * Fires when the tab (or enter) was pressed on the last editable cell
+ * You can use this to trigger add new row.
+ * @param {SelectionModel} this
+ */
+ "tabend" : true
});
Roo.grid.CellSelectionModel.superclass.constructor.call(this);
};