📄 ext.grid.griddragzone.html
字号:
<tr class="property-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-invalidHandleTypes"></a> <b>invalidHandleTypes</b> : Object <div class="mdesc"> <div class="short">An object who's property names identify HTML tags to be considered invalid as drag handles.A non-null property value...</div> <div class="long"> An object who's property names identify HTML tags to be considered invalid as drag handles.A non-null property value identifies the tag as invalid. Defaults to the following value which prevents drag operations from being initiated by <a> elements:<pre><code>{ A: <em>"A"</em>}</code></pre> </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleTypes" href="output/Ext.dd.DragDrop.html#invalidHandleTypes">DragDrop</a></td> </tr> <tr class="property-row inherited"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-isTarget"></a> <b>isTarget</b> : boolean <div class="mdesc"> By default, all insances can be a drop target. This can be disabled bysetting isTarget to false. </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#isTarget" href="output/Ext.dd.DragDrop.html#isTarget">DragDrop</a></td> </tr> <tr class="property-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-maintainOffset"></a> <b>maintainOffset</b> : boolean <div class="mdesc"> <div class="short">Maintain offsets when we resetconstraints. Set to true when you wantthe position of the element relative to its par...</div> <div class="long"> Maintain offsets when we resetconstraints. Set to true when you wantthe position of the element relative to its parent to stay the samewhen the page changes </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#maintainOffset" href="output/Ext.dd.DragDrop.html#maintainOffset">DragDrop</a></td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-onStartDrag"></a> <b>onStartDrag</b> : Object <div class="mdesc"> <div class="short">An empty function by default, but provided so that you can perform a custom action once the initialdrag event has be...</div> <div class="long"> An empty function by default, but provided so that you can perform a custom action once the initialdrag event has begun. The drag cannot be canceled from this function. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#onStartDrag" href="output/Ext.dd.DragSource.html#onStartDrag">DragSource</a></td> </tr> <tr class="property-row inherited alt"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-padding"></a> <b>padding</b> : int[] <div class="mdesc"> The padding configured for this drag and drop object for calculatingthe drop zone intersection with this object. </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#padding" href="output/Ext.dd.DragDrop.html#padding">DragDrop</a></td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-primaryButtonOnly"></a> <b>primaryButtonOnly</b> : boolean <div class="mdesc"> <div class="short">By default the drag and drop instance will only respond to the primarybutton click (left button for a right-handed m...</div> <div class="long"> By default the drag and drop instance will only respond to the primarybutton click (left button for a right-handed mouse). Set to true toallow drag and drop to start with any mouse click that is propogatedby the browser </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#primaryButtonOnly" href="output/Ext.dd.DragDrop.html#primaryButtonOnly">DragDrop</a></td> </tr> <tr class="property-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-resizeFrame"></a> <b>resizeFrame</b> : boolean <div class="mdesc"> <div class="short">By default we resize the drag frame to be the same size as the elementwe want to drag (this is to get the frame effe...</div> <div class="long"> By default we resize the drag frame to be the same size as the elementwe want to drag (this is to get the frame effect). We can turn it offif we want a different behavior. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#resizeFrame" href="output/Ext.dd.DDProxy.html#resizeFrame">DDProxy</a></td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-scroll"></a> <b>scroll</b> : boolean <div class="mdesc"> <div class="short">When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragge...</div> <div class="long"> When set to true, the utility automatically tries to scroll the browserwindow when a drag and drop element is dragged near the viewport boundary.Defaults to true. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DD" ext:member="#scroll" href="output/Ext.dd.DD.html#scroll">DD</a></td> </tr> <tr class="property-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-xTicks"></a> <b>xTicks</b> : int[] <div class="mdesc"> <div class="short">Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval. This array is ge...</div> <div class="long"> Array of pixel locations the element will snap to if we specified ahorizontal graduation/interval. This array is generated automaticallywhen you define a tick interval. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#xTicks" href="output/Ext.dd.DragDrop.html#xTicks">DragDrop</a></td> </tr> <tr class="property-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.grid.GridDragZone-yTicks"></a> <b>yTicks</b> : int[] <div class="mdesc"> <div class="short">Array of pixel locations the element will snap to if we specified avertical graduation/interval. This array is gene...</div> <div class="long"> Array of pixel locations the element will snap to if we specified avertical graduation/interval. This array is generated automaticallywhen you define a tick interval. </div> </div> </td> <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#yTicks" href="output/Ext.dd.DragDrop.html#yTicks">DragDrop</a></td> </tr> </table> <a id="Ext.grid.GridDragZone-methods"></a> <h2>Public Methods</h2> <table cellspacing="0" class="member-table"> <tr> <th class="sig-header" colspan="2">Method</th> <th class="msource-header">Defined By</th> </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-addInvalidHandleClass"></a> <b>addInvalidHandleClass</b>( <code>string cssClass</code> ) : void <div class="mdesc"> <div class="short">Lets you specify a css class of elements that will not initiate a drag</div> <div class="long"> Lets you specify a css class of elements that will not initiate a drag <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>cssClass</code> : string<div class="sub-desc">the class of the elements you wish to ignore</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="#addInvalidHandleClass" href="output/Ext.dd.DragDrop.html#addInvalidHandleClass">DragDrop</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-addInvalidHandleId"></a> <b>addInvalidHandleId</b>( <code>string id</code> ) : void <div class="mdesc"> <div class="short">Lets you to specify an element id for a child of a drag handlethat should not initiate a drag</div> <div class="long"> Lets you to specify an element id for a child of a drag handlethat should not initiate a drag <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>id</code> : string<div class="sub-desc">the element id of the element you wish to ignore</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="#addInvalidHandleId" href="output/Ext.dd.DragDrop.html#addInvalidHandleId">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-addInvalidHandleType"></a> <b>addInvalidHandleType</b>( <code>string tagName</code> ) : void <div class="mdesc"> <div class="short">Allows you to specify a tag name that should not start a drag operationwhen clicked. This is designed to facilitate...</div> <div class="long"> Allows you to specify a tag name that should not start a drag operationwhen clicked. This is designed to facilitate embedding links within adrag handle that do something other than start the drag. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>tagName</code> : string<div class="sub-desc">the type of element to exclude</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="#addInvalidHandleType" href="output/Ext.dd.DragDrop.html#addInvalidHandleType">DragDrop</a></td> </tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -