⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.grid.griddragzone.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
            <b>clearTicks</b>() : void            <div class="mdesc">                        <div class="short">Clears any tick interval defined for this instance</div>            <div class="long">                Clears any tick interval defined for this instance    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#clearTicks" href="output/Ext.dd.DragDrop.html#clearTicks">DragDrop</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-constrainTo"></a>            <b>constrainTo</b>(&nbsp;<code>Mixed constrainTo</code>, <span class="optional" title="Optional">[<code>Object/Number pad</code>]</span>, <span class="optional" title="Optional">[<code>Boolean inContent</code>]</span>&nbsp;) : void            <div class="mdesc">                        <div class="short">Initializes the drag drop object's constraints to restrict movement to a certain element.Usage: var dd = new Ext.d...</div>            <div class="long">                Initializes the drag drop object's constraints to restrict movement to a certain element.Usage: <pre><code>var dd = <b>new</b> Ext.dd.DDProxy(<em>"dragDiv1"</em>, <em>"proxytest"</em>,                { dragElId: <em>"existingProxyDiv"</em> }); dd.startDrag = <b>function</b>(){     <b>this</b>.constrainTo(<em>"parent-id"</em>); };</code></pre>Or you can initalize it using the <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a> object: <pre><code>Ext.get(<em>"dragDiv1"</em>).initDDProxy(<em>"proxytest"</em>, {dragElId: <em>"existingProxyDiv"</em>}, {     startDrag : <b>function</b>(){         <b>this</b>.constrainTo(<em>"parent-id"</em>);     } });</code></pre>    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>constrainTo</code> : Mixed<div class="sub-desc">The element to constrain to.</div></li><li><code>pad</code> : Object/Number<div class="sub-desc">(optional) Pad provides a way to specify "padding" of the constraints,and can be either a number for symmetrical padding (4 would be equal to {left:4, right:4, top:4, bottom:4}) oran object containing the sides to pad. For example: {right:10, bottom:10}</div></li><li><code>inContent</code> : Boolean<div class="sub-desc">(optional) Constrain the draggable in the content box of the element (inside padding and borders)</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#constrainTo" href="output/Ext.dd.DragDrop.html#constrainTo">DragDrop</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-createFrame"></a>            <b>createFrame</b>() : void            <div class="mdesc">                        <div class="short">Creates the proxy element if it does not yet exist</div>            <div class="long">                Creates the proxy element if it does not yet exist    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#createFrame" href="output/Ext.dd.DDProxy.html#createFrame">DDProxy</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-endDrag"></a>            <b>endDrag</b>(&nbsp;<code>Event e</code>&nbsp;) : void            <div class="mdesc">                        <div class="short">Fired when we are done dragging the object</div>            <div class="long">                Fired when we are done dragging the object    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>e</code> : Event<div class="sub-desc">the mouseup event</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#endDrag" href="output/Ext.dd.DragDrop.html#endDrag">DragDrop</a></td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-getDragData"></a>            <b>getDragData</b>() : void            <div class="mdesc">                        <div class="short">The provided implementation of the getDragData method which collects the data to be dragged from the GridPanel on mou...</div>            <div class="long">                <p>The provided implementation of the getDragData method which collects the data to be dragged from the GridPanel on mousedown.</p><p>This data is available for processing in the <a ext:cls="Ext.dd.DropZone" ext:member="onNodeEnter" href="output/Ext.dd.DropZone.html#onNodeEnter">onNodeEnter</a>, <a ext:cls="Ext.dd.DropZone" ext:member="onNodeOver" href="output/Ext.dd.DropZone.html#onNodeOver">onNodeOver</a>,<a ext:cls="Ext.dd.DropZone" ext:member="onNodeOut" href="output/Ext.dd.DropZone.html#onNodeOut">onNodeOut</a> and <a ext:cls="Ext.dd.DropZone" ext:member="onNodeDrop" href="output/Ext.dd.DropZone.html#onNodeDrop">onNodeDrop</a> methods of a cooperating <a ext:cls="Ext.dd.DropZone" href="output/Ext.dd.DropZone.html">DropZone</a>.</p><p>The data object contains the following properties:<ul><li><b>grid</b> : Ext.Grid.GridPanel<div class="sub-desc">The GridPanel from which the data is being dragged.</div></li><li><b>ddel</b> : htmlElement<div class="sub-desc">An htmlElement which provides the "picture" of the data being dragged.</div></li><li><b>rowIndex</b> : Number<div class="sub-desc">The index of the row which receieved the mousedown gesture which triggered the drag.</div></li><li><b>selections</b> : Array<div class="sub-desc">An Array of the selected Records which are being dragged from the GridPanel.</div></li></ul></p>    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>void</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">GridDragZone</td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-getDragEl"></a>            <b>getDragEl</b>() : HTMLElement            <div class="mdesc">                        <div class="short">Returns a reference to the actual element to drag.  By default this isthe same as the html element, but it can be as...</div>            <div class="long">                Returns a reference to the actual element to drag.  By default this isthe same as the html element, but it can be assigned to anotherelement. An example of this can be found in Ext.dd.DDProxy    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getDragEl" href="output/Ext.dd.DragDrop.html#getDragEl">DragDrop</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-getEl"></a>            <b>getEl</b>() : HTMLElement            <div class="mdesc">                        <div class="short">Returns a reference to the linked element</div>            <div class="long">                Returns a reference to the linked element    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>HTMLElement</code><div class="sub-desc">the html element</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#getEl" href="output/Ext.dd.DragDrop.html#getEl">DragDrop</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-getProxy"></a>            <b>getProxy</b>() : Ext.dd.StatusProxy            <div class="mdesc">                        <div class="short">Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>            <div class="long">                Returns the drag source's underlying <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a>    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.dd.StatusProxy</code><div class="sub-desc">proxy The StatusProxy</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#getProxy" href="output/Ext.dd.DragSource.html#getProxy">DragSource</a></td>    </tr>        <tr class="method-row expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-getRepairXY"></a>            <b>getRepairXY</b>(&nbsp;<code>EventObject e</code>&nbsp;) : Array            <div class="mdesc">                        <div class="short">An empty implementation. Implement this to provide coordinates for the drag proxy to slide back to after an invalid d...</div>            <div class="long">                <p>An empty implementation. Implement this to provide coordinates for the drag proxy to slide back to after an invalid drop.</p><p>Called before a repair of an invalid drop to get the XY to animate to.</p>    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>e</code> : EventObject<div class="sub-desc">The mouse up event</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Array</code><div class="sub-desc">The xy location (e.g. [100, 200])</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource">GridDragZone</td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-hideProxy"></a>            <b>hideProxy</b>() : void            <div class="mdesc">                        <div class="short">Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a></div>            <div class="long">                Hides the drag source's <a ext:cls="Ext.dd.StatusProxy" href="output/Ext.dd.StatusProxy.html">Ext.dd.StatusProxy</a>    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <st

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -