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

📄 ext.grid.griddragzone.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <div class="body-wrap">        <div class="top-tools">            <a class="inner-link" href="#Ext.grid.GridDragZone-props"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>            <a class="inner-link" href="#Ext.grid.GridDragZone-methods"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-method">Methods</a>            <a class="inner-link" href="#Ext.grid.GridDragZone-events"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-event">Events</a>                            <a class="inner-link" href="#Ext.grid.GridDragZone-configs"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>                        <a class="bookmark" href="../docs/?class=Ext.grid.GridDragZone"><img src="ext-2.0/resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>        </div>                <div class="inheritance res-block"><pre class="res-block-inner"><a ext:cls="Ext.dd.DragDrop" ext:member="" href="output/Ext.dd.DragDrop.html">DragDrop</a>  <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DD" ext:member="" href="output/Ext.dd.DD.html">DD</a>    <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DDProxy" ext:member="" href="output/Ext.dd.DDProxy.html">DDProxy</a>      <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragSource" ext:member="" href="output/Ext.dd.DragSource.html">DragSource</a>        <img src="resources/elbow-end.gif"/><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a>          <img src="resources/elbow-end.gif"/>GridDragZone</pre></div>                <h1>Class Ext.grid.GridDragZone</h1>        <table cellspacing="0">            <tr><td class="label">Package:</td><td class="hd-info">Ext.grid</td></tr>            <tr><td class="label">Defined In:</td><td class="hd-info">GridDD.js</td></tr>            <tr><td class="label">Class:</td><td class="hd-info">GridDragZone</td></tr>                                    <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.dd.DragZone" ext:member="" href="output/Ext.dd.DragZone.html">DragZone</a></td></tr>                    </table>        <div class="description">            <p>A customized implementation of a <a ext:cls="Ext.dd.DragZone" href="output/Ext.dd.DragZone.html">DragZone</a> which provides default implementations of two of thetemplate methods of DragZone to enable dragging of the selected rows of a GridPanel.</p><p>A cooperating <a ext:cls="Ext.dd.DropZone" href="output/Ext.dd.DropZone.html">DropZone</a> must be created who's template method implementations of<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></p> are ableto process the <a ext:cls="Ext.grid.GridDragZone" ext:member="getDragData" href="output/Ext.grid.GridDragZone.html#getDragData">data</a> which is provided.        </div>                <div class="hr"></div>                <a id="Ext.grid.GridDragZone-configs"></a>        <h2>Config Options</h2>        <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Config Options</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="config-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-containerScroll"></a>            <b>containerScroll</b> : Boolean            <div class="mdesc">                            True to register this container with the Scrollmanager for auto scrolling during drag operations.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#containerScroll" href="output/Ext.dd.DragZone.html#containerScroll">DragZone</a></td>    </tr>        <tr class="config-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-ddGroup"></a>            <b>ddGroup</b> : String            <div class="mdesc">                        <div class="short">A named drag drop group to which this object belongs. If a group is specified, then this object will only interact wi...</div>            <div class="long">                A named drag drop group to which this object belongs. If a group is specified, then this object will only interact with other drag drop objects in the same group (defaults to undefined).            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#ddGroup" href="output/Ext.dd.DragSource.html#ddGroup">DragSource</a></td>    </tr>        <tr class="config-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-dropAllowed"></a>            <b>dropAllowed</b> : String            <div class="mdesc">                            The CSS class returned to the drag source when drop is allowed (defaults to "x-dd-drop-ok").                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropAllowed" href="output/Ext.dd.DragSource.html#dropAllowed">DragSource</a></td>    </tr>        <tr class="config-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-dropNotAllowed"></a>            <b>dropNotAllowed</b> : String            <div class="mdesc">                            The CSS class returned to the drag source when drop is not allowed (defaults to "x-dd-drop-nodrop").                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragSource" ext:member="#dropNotAllowed" href="output/Ext.dd.DragSource.html#dropNotAllowed">DragSource</a></td>    </tr>        <tr class="config-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-hlColor"></a>            <b>hlColor</b> : String            <div class="mdesc">                        <div class="short">The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults t...</div>            <div class="long">                The color to use when visually highlighting the drag source in the afterRepair method after a failed drop (defaults to "c3daf9" - light blue)            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragZone" ext:member="#hlColor" href="output/Ext.dd.DragZone.html#hlColor">DragZone</a></td>    </tr>            </table>                <a id="Ext.grid.GridDragZone-props"></a>        <h2>Public Properties</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Property</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="property-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-available"></a>            <b>available</b> : boolean            <div class="mdesc">                            The availabe property is false until the linked dom element is accessible.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#available" href="output/Ext.dd.DragDrop.html#available">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-centerFrame"></a>            <b>centerFrame</b> : boolean            <div class="mdesc">                        <div class="short">By default the frame is positioned exactly where the drag element is, sowe use the cursor offset provided by Ext.dd....</div>            <div class="long">                By default the frame is positioned exactly where the drag element is, sowe use the cursor offset provided by Ext.dd.DD.  Another option that works only ifyou do not have constraints on the obj is to have the drag frame centeredaround the cursor.  Set centerFrame to true for this effect.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DDProxy" ext:member="#centerFrame" href="output/Ext.dd.DDProxy.html#centerFrame">DDProxy</a></td>    </tr>        <tr class="property-row inherited">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-config"></a>            <b>config</b> : object            <div class="mdesc">                            Configuration attributes passed into the constructor                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#config" href="output/Ext.dd.DragDrop.html#config">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-defaultPadding"></a>            <b>defaultPadding</b> : Object            <div class="mdesc">                            Provides default constraint padding to "constrainTo" elements (defaults to {left: 0, right:0, top:0, bottom:0}).                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#defaultPadding" href="output/Ext.dd.DragDrop.html#defaultPadding">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-groups"></a>            <b>groups</b> : object            <div class="mdesc">                        <div class="short">The group defines a logical collection of DragDrop objects that arerelated.  Instances only get events when interact...</div>            <div class="long">                The group defines a logical collection of DragDrop objects that arerelated.  Instances only get events when interacting with otherDragDrop object in the same group.  This lets us define multiplegroups using a single DragDrop subclass if we want.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#groups" href="output/Ext.dd.DragDrop.html#groups">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-hasOuterHandles"></a>            <b>hasOuterHandles</b> : boolean            <div class="mdesc">                        <div class="short">By default, drags can only be initiated if the mousedown occurs in theregion the linked element is.  This is done in...</div>            <div class="long">                By default, drags can only be initiated if the mousedown occurs in theregion the linked element is.  This is done in part to work around abug in some browsers that mis-report the mousedown if the previousmouseup happened outside of the window.  This property is set to trueif outer handles are defined.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#hasOuterHandles" href="output/Ext.dd.DragDrop.html#hasOuterHandles">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-id"></a>            <b>id</b> : String            <div class="mdesc">                        <div class="short">The id of the element associated with this object.  This is what werefer to as the "linked element" because the size...</div>            <div class="long">                The id of the element associated with this object.  This is what werefer to as the "linked element" because the size and position ofthis element is used to determine when the drag and drop objects haveinteracted.            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#id" href="output/Ext.dd.DragDrop.html#id">DragDrop</a></td>    </tr>        <tr class="property-row inherited alt">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-invalidHandleClasses"></a>            <b>invalidHandleClasses</b> : Array            <div class="mdesc">                            An Array of CSS class names for elements to be considered in valid as drag handles.                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleClasses" href="output/Ext.dd.DragDrop.html#invalidHandleClasses">DragDrop</a></td>    </tr>        <tr class="property-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.grid.GridDragZone-invalidHandleIds"></a>            <b>invalidHandleIds</b> : Object            <div class="mdesc">                        <div class="short">An object who's property names identify the IDs of elements to be considered invalid as drag handles.A non-null prop...</div>            <div class="long">                An object who's property names identify the IDs of elements to be considered invalid as drag handles.A non-null property value identifies the ID as invalid. For example, to preventdragging from being initiated on element ID "foo", use:<pre><code>{    foo: true}</code></pre>            </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.dd.DragDrop" ext:member="#invalidHandleIds" href="output/Ext.dd.DragDrop.html#invalidHandleIds">DragDrop</a></td>    </tr>

⌨️ 快捷键说明

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