📄 ext.grid.griddragzone.html
字号:
<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="#autoOffset" href="output/Ext.dd.DD.html#autoOffset">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-b4Drag"></a> <b>b4Drag</b>() : void <div class="mdesc"> <div class="short">Event that fires prior to the onDrag event. OverridesExt.dd.DragDrop.</div> <div class="long"> Event that fires prior to the onDrag event. OverridesExt.dd.DragDrop. <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.DD" ext:member="#b4Drag" href="output/Ext.dd.DD.html#b4Drag">DD</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-b4MouseDown"></a> <b>b4MouseDown</b>() : void <div class="mdesc"> <div class="short">Event that fires prior to the onMouseDown event. OverridesExt.dd.DragDrop.</div> <div class="long"> Event that fires prior to the onMouseDown event. OverridesExt.dd.DragDrop. <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.DD" ext:member="#b4MouseDown" href="output/Ext.dd.DD.html#b4MouseDown">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-beforeDragDrop"></a> <b>beforeDragDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom action before the draggeditem is dropped...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom action before the draggeditem is dropped onto the target and optionally cancel the onDragDrop. <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>Boolean</code><div class="sub-desc">isValid True if the drag drop event is valid, else false to cancel</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragDrop" href="output/Ext.dd.DragSource.html#beforeDragDrop">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-beforeDragEnter"></a> <b>beforeDragEnter</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom actionbefore the dragged item enters the...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom actionbefore the dragged item enters the drop target and optionally cancel the onDragEnter. <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>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragEnter" href="output/Ext.dd.DragSource.html#beforeDragEnter">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-beforeDragOut"></a> <b>beforeDragOut</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom action before the draggeditem is dragged...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom action before the draggeditem is dragged out of the target without dropping, and optionally cancel the onDragOut. <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>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOut" href="output/Ext.dd.DragSource.html#beforeDragOut">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-beforeDragOver"></a> <b>beforeDragOver</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <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 and optionally cancel the onDragOver. <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>Boolean</code><div class="sub-desc">isValid True if the drag event is valid, else false to cancel</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeDragOver" href="output/Ext.dd.DragSource.html#beforeDragOver">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-beforeInvalidDrop"></a> <b>beforeInvalidDrop</b>( <code>Ext.dd.DragDrop target</code>, <code>Event e</code>, <code>String id</code> ) : Boolean <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom action after an invaliddrop has occurred.</div> <div class="long"> An empty function by default, but provided so that you can perform a custom action after an invaliddrop has occurred. <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>Boolean</code><div class="sub-desc">isValid True if the invalid drop should proceed, else false to cancel</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#beforeInvalidDrop" href="output/Ext.dd.DragSource.html#beforeInvalidDrop">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-cachePosition"></a> <b>cachePosition</b>( <code>iPageX the</code>, <code>iPageY the</code> ) : void <div class="mdesc"> <div class="short">Saves the most recent position so that we can reset the constraints andtick marks on-demand. We need to know this s...</div> <div class="long"> Saves the most recent position so that we can reset the constraints andtick marks on-demand. We need to know this so that we can calculate thenumber of pixels the element is offset from its original position. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>the</code> : iPageX<div class="sub-desc">current x position (optional, this just makes it so wedon't have to look it up again)</div></li><li><code>the</code> : iPageY<div class="sub-desc">current y position (optional, this just makes it so wedon't have to look it up again)</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="#cachePosition" href="output/Ext.dd.DD.html#cachePosition">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-clearConstraints"></a> <b>clearConstraints</b>() : void <div class="mdesc"> <div class="short">Clears any constraints applied to this instance. Also clears tickssince they can't exist independent of a constrain...</div> <div class="long"> Clears any constraints applied to this instance. Also clears tickssince they can't exist independent of a constraint at this time. <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="#clearConstraints" href="output/Ext.dd.DragDrop.html#clearConstraints">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-clearTicks"></a>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -