📄 ext.grid.griddragzone.html
字号:
<tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-addToGroup"></a> <b>addToGroup</b>( <code>sGroup {string}</code> ) : void <div class="mdesc"> <div class="short">Add this instance to a group of related drag/drop objects. Allinstances belong to at least one group, and can belon...</div> <div class="long"> Add this instance to a group of related drag/drop objects. Allinstances belong to at least one group, and can belong to as manygroups as needed. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>{string}</code> : sGroup<div class="sub-desc">the name of the group</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="#addToGroup" href="output/Ext.dd.DragDrop.html#addToGroup">DragDrop</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterDragDrop"></a> <b>afterDragDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionafter a valid drag drop has occurr...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionafter a valid drag drop has occurred by providing an implementation. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</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.DragSource" ext:member="#afterDragDrop" href="output/Ext.dd.DragSource.html#afterDragDrop">DragSource</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterDragEnter"></a> <b>afterDragEnter</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionwhen the dragged item enters the d...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionwhen the dragged item enters the drop target by providing an implementation. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</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.DragSource" ext:member="#afterDragEnter" href="output/Ext.dd.DragSource.html#afterDragEnter">DragSource</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterDragOut"></a> <b>afterDragOut</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionafter the dragged item is dragged ...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionafter the dragged item is dragged out of the target without dropping. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</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.DragSource" ext:member="#afterDragOut" href="output/Ext.dd.DragSource.html#afterDragOut">DragSource</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterDragOver"></a> <b>afterDragOver</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionwhile the dragged item is over the...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionwhile the dragged item is over the drop target by providing an implementation. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>target</code> : Ext.dd.DragDrop<div class="sub-desc">The drop target</div></li><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dragged element</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.DragSource" ext:member="#afterDragOver" href="output/Ext.dd.DragSource.html#afterDragOver">DragSource</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterInvalidDrop"></a> <b>afterInvalidDrop</b>( <code>Event e</code>, <code>String id</code> ) : void <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionafter an invalid drop has occurred...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionafter an invalid drop has occurred by providing an implementation. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>e</code> : Event<div class="sub-desc">The event object</div></li><li><code>id</code> : String<div class="sub-desc">The id of the dropped element</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.DragSource" ext:member="#afterInvalidDrop" href="output/Ext.dd.DragSource.html#afterInvalidDrop">DragSource</a></td> </tr> <tr class="method-row alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-afterRepair"></a> <b>afterRepair</b>() : void <div class="mdesc"> <div class="short">An empty immplementation. Implement this to provide behaviour after a repair of an invalid drop. An implementation mi...</div> <div class="long"> An empty immplementation. Implement this to provide behaviour after a repair of an invalid drop. An implementation might highlightthe selected rows to show that they have not been dragged. <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 expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-alignElWithMouse"></a> <b>alignElWithMouse</b>( <code>HTMLElement el</code>, <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc"> <div class="short">Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the loc...</div> <div class="long"> Sets the element to the location of the mousedown or click event,maintaining the cursor location relative to the location on the elementthat was clicked. Override this if you want to place the element in alocation other than where the cursor is. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>el</code> : HTMLElement<div class="sub-desc">the element to move</div></li><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the mousedown or drag event</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the mousedown or drag 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.DD" ext:member="#alignElWithMouse" href="output/Ext.dd.DD.html#alignElWithMouse">DD</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-applyConfig"></a> <b>applyConfig</b>() : void <div class="mdesc"> <div class="short">Applies the configuration parameters that were passed into the constructor.This is supposed to happen at each level ...</div> <div class="long"> Applies the configuration parameters that were passed into the constructor.This is supposed to happen at each level through the inheritance chain. Soa DDProxy implentation will execute apply config on DDProxy, DD, andDragDrop in order to get all of the parameters that are available ineach object. <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="#applyConfig" href="output/Ext.dd.DragDrop.html#applyConfig">DragDrop</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-autoOffset"></a> <b>autoOffset</b>( <code>int iPageX</code>, <code>int iPageY</code> ) : void <div class="mdesc"> <div class="short">Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was...</div> <div class="long"> Sets the pointer offset to the distance between the linked element's topleft corner and the location the element was clicked <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>iPageX</code> : int<div class="sub-desc">the X coordinate of the click</div></li><li><code>iPageY</code> : int<div class="sub-desc">the Y coordinate of the click</div></li> </ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -