projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8ff960
)
Roo/grid/GridView.js
author
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:54:39 +0000
(17:54 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 20 Apr 2016 09:54:39 +0000
(17:54 +0800)
Roo/grid/GridView.js
patch
|
blob
|
history
diff --git
a/Roo/grid/GridView.js
b/Roo/grid/GridView.js
index
fee0a19
..
300288b
100644
(file)
--- a/
Roo/grid/GridView.js
+++ b/
Roo/grid/GridView.js
@@
-945,7
+945,9
@@
Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, {
p.id = c.id;
p.css = p.attr = "";
p.value = c.renderer(r.data[c.name], p, r, rowIndex, i, ds);
- if(p.value == undefined || p.value === "") p.value = " ";
+ if(p.value == undefined || p.value === "") {
+ p.value = " ";
+ }
if(r.dirty && typeof r.modified[c.name] !== 'undefined'){
p.css += p.css ? ' x-grid-dirty-cell' : 'x-grid-dirty-cell';
}