projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e434614
)
Roo/grid/ColumnModel.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Oct 2017 08:54:51 +0000
(16:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Oct 2017 08:54:51 +0000
(16:54 +0800)
Roo/grid/ColumnModel.js
patch
|
blob
|
history
diff --git
a/Roo/grid/ColumnModel.js
b/Roo/grid/ColumnModel.js
index
9af4ca7
..
7424f46
100644
(file)
--- a/
Roo/grid/ColumnModel.js
+++ b/
Roo/grid/ColumnModel.js
@@
-530,9
+530,13
@@
Roo.extend(Roo.grid.ColumnModel, Roo.util.Observable, {
});
Roo.grid.ColumnModel.defaultRenderer = function(value){
+ if(typeof value == "object") {
+ return value;
+ }
if(typeof value == "string" && value.length < 1){
return " ";
}
+
return String.format("{1}", value);
};