From 2977509e4b28d7bdaa27abddf41447854c6e41d4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 10 Jun 2016 16:03:38 +0800 Subject: [PATCH] roojs-ui.js roojs-ui-debug.js --- roojs-ui-debug.js | 6 ++++- roojs-ui.js | 66 +++++++++++++++++++++++------------------------ 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/roojs-ui-debug.js b/roojs-ui-debug.js index 69f51bc8de..991267fc55 100644 --- a/roojs-ui-debug.js +++ b/roojs-ui-debug.js @@ -37862,7 +37862,10 @@ Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, { if(p.value == undefined || p.value === "") { p.value = " "; } - if(r.dirty && typeof r.modified[c.name] !== 'undefined'){ + if(r.editor){ + p.css += 'x-grid-editable-cell'; + } + if(c.dirty && typeof r.modified[c.name] !== 'undefined'){ p.css += p.css ? ' x-grid-dirty-cell' : 'x-grid-dirty-cell'; } var markup = ct.apply(p); @@ -37950,6 +37953,7 @@ Roo.extend(Roo.grid.GridView, Roo.grid.AbstractGridView, { this.grid.fireEvent('rowclass', this, rowcfg); alt.push(rowcfg.rowClass); } + Roo.log(alt); rp.alt = alt.join(" "); rp.cells = lcb.join(""); lbuf[lbuf.length] = rt.apply(rp); diff --git a/roojs-ui.js b/roojs-ui.js index 2aa744f8b3..0ad9288264 100644 --- a/roojs-ui.js +++ b/roojs-ui.js @@ -1599,39 +1599,39 @@ e.stopEvent();},handleWheel:function(e){var d=e.getWheelDelta();this.scroller.do var D=cm.getColumnCount();if(ds.getCount()<1){return ["",""];}var cs=[];for(var i=0;i