projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5a023
)
Roo/grid/EditorGrid.js
author
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Nov 2012 06:54:24 +0000
(14:54 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Sun, 18 Nov 2012 06:54:24 +0000
(14:54 +0800)
Roo/grid/EditorGrid.js
patch
|
blob
|
history
diff --git
a/Roo/grid/EditorGrid.js
b/Roo/grid/EditorGrid.js
index
5374778
..
d3c2ee2
100644
(file)
--- a/
Roo/grid/EditorGrid.js
+++ b/
Roo/grid/EditorGrid.js
@@
-203,5
+203,15
@@
Roo.extend(Roo.grid.EditorGrid, Roo.grid.Grid, {
this.activeEditor.completeEdit();
}
this.activeEditor = null;
+ },
+
+ /**
+ * Called to get grid's drag proxy text, by default returns this.ddText.
+ * @return {String}
+ */
+ getDragDropText : function(){
+ var count = this.selModel.getSelectedCell() ? 1 : 0;
+ return String.format(this.ddText, count, count == 1 ? '' : 's');
}
+
});
\ No newline at end of file