Roo/grid/SplitDragZone.js
authorAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 01:51:59 +0000 (09:51 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 26 Jul 2021 01:51:59 +0000 (09:51 +0800)
Roo/grid/SplitDragZone.js

index 5f11ed5..f7cc01d 100644 (file)
@@ -8,17 +8,29 @@
  * Fork - LGPL
  * <script type="text/javascript">
  */
+ /**
+ * @extends Roo.dd.DDProxy
+ * @class Roo.grid.SplitDragZone
+ * Support for Column Header resizing
+ * @constructor
+ * @param {Object} config
+ */
 // private
 // This is a support class used internally by the Grid components
 Roo.grid.SplitDragZone = function(grid, hd, hd2){
     this.grid = grid;
     this.view = grid.getView();
     this.proxy = this.view.resizeProxy;
-    Roo.grid.SplitDragZone.superclass.constructor.call(this, hd,
-        "gridSplitters" + this.grid.getGridEl().id, {
-        dragElId : Roo.id(this.proxy.dom), resizeFrame:false
-    });
+    Roo.grid.SplitDragZone.superclass.constructor.call(
+        this,
+        hd, // ID
+        "gridSplitters" + this.grid.getGridEl().id, // SGROUP
+        {  // CONFIG
+            dragElId : Roo.id(this.proxy.dom),
+            resizeFrame:false
+        }
+    );
+    
     this.setHandleElId(Roo.id(hd));
     this.setOuterHandleElId(Roo.id(hd2));
     this.scroll = false;