Pman.Gnumeric.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 13 Sep 2010 06:15:33 +0000 (14:15 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 13 Sep 2010 06:15:33 +0000 (14:15 +0800)
Pman.Gnumeric.js

index 57175d9..7b6dda2 100644 (file)
@@ -535,10 +535,15 @@ Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
         }
         //  .styles...
         Roo.each(old.styles, function(s) {
+            // duplidate the style..
+            var ns = s.cloneNode(true);
+            s.parentNode.appendChild(ns);
+            ns.setAttribute('startCol', dest.c);
+            ns.setAttribute('startRow', dest.r);
+            ns.setAttribute('endCol', dest.c + 1);
+            ns.setAttribute('endRow', dest.r +1);
             
-            
-            
-        })
+        });
         
     }