Roo/bootstrap/Table.js
authoredward <edward@roojs.com>
Tue, 2 Jan 2018 08:01:37 +0000 (16:01 +0800)
committeredward <edward@roojs.com>
Tue, 2 Jan 2018 08:01:37 +0000 (16:01 +0800)
Roo/bootstrap/Table.js

index 7bc7fe2..8a0110a 100644 (file)
@@ -1088,14 +1088,13 @@ Roo.extend(Roo.bootstrap.Table, Roo.bootstrap.Component,  {
     },
     onBodyScroll: function()
     {
-        
         //Roo.log("body scrolled');" + this.mainBody.dom.scrollLeft);
         this.mainHead.setStyle({
-                    'position' : 'relative',
-                    'left': (-1* this.mainBody.dom.scrollLeft) + 'px'
+            'position' : 'relative',
+            'left': (-1* this.mainBody.dom.scrollLeft) + 'px'
         });
         
-        
+        Roo.log('on body scroll');
     }
 });