ext.grid.gridpanel.html.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 881 行 · 第 1/5 页
SVN-BASE
881 行
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#buttons" href="output/Ext.Panel.html#buttons">Panel</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-cls"></a>
<b>cls</b> : String <div class="mdesc">
<div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
<div class="long">
An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-cm"></a>
<b>cm</b> : Object <div class="mdesc">
Shorthand for <a ext:cls="Ext.grid.GridPanel" ext:member="colModel" href="output/Ext.grid.GridPanel.html#colModel">colModel</a>. </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-colModel"></a>
<b>colModel</b> : Object <div class="mdesc">
The <a ext:cls="Ext.grid.ColumnModel" href="output/Ext.grid.ColumnModel.html">Ext.grid.ColumnModel</a> to use when rendering the grid (required). </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row inherited expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-collapseFirst"></a>
<b>collapseFirst</b> : Boolean <div class="mdesc">
<div class="short">True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the pane...</div>
<div class="long">
True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the panel's title bar, false to render it last (defaults to true). </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapseFirst" href="output/Ext.Panel.html#collapseFirst">Panel</a></td>
</tr>
<tr class="config-row inherited alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-collapsed"></a>
<b>collapsed</b> : Boolean <div class="mdesc">
True to render the panel collapsed, false to render it expanded (defaults to false). </div>
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsed" href="output/Ext.Panel.html#collapsed">Panel</a></td>
</tr>
<tr class="config-row inherited">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-collapsedCls"></a>
<b>collapsedCls</b> : String <div class="mdesc">
A CSS class to add to the panel's element after it has been collapsed (defaults to 'x-panel-collapsed'). </div>
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsedCls" href="output/Ext.Panel.html#collapsedCls">Panel</a></td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-collapsible"></a>
<b>collapsible</b> : Boolean <div class="mdesc">
<div class="short">True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header ...</div>
<div class="long">
True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header tool button area, false to keep the panel statically sized with no button (defaults to false). </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#collapsible" href="output/Ext.Panel.html#collapsible">Panel</a></td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-columns"></a>
<b>columns</b> : Array <div class="mdesc">
An array of columns to auto create a ColumnModel </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-ctCls"></a>
<b>ctCls</b> : String <div class="mdesc">
<div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
<div class="long">
An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-disableSelection"></a>
<b>disableSelection</b> : Boolean <div class="mdesc">
True to disable selections in the grid (defaults to false). - ignored if a SelectionModel is specified </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row inherited alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-draggable"></a>
<b>draggable</b> : Boolean <div class="mdesc">
<div class="short">True to enable dragging of this Panel (defaults to false). For custom drag/drop implementations, an Ext.Panel.DD conf...</div>
<div class="long">
<p>True to enable dragging of this Panel (defaults to false).</p> <p>For custom drag/drop implementations, an Ext.Panel.DD config could also be passed in this config instead of true. Ext.Panel.DD is an internal, undocumented class which moves a proxy Element around in place of the Panel's element, but provides no other behaviour during dragging or on drop. It is a subclass of <a ext:cls="Ext.dd.DragSource" href="output/Ext.dd.DragSource.html">Ext.dd.DragSource</a>, so behaviour may be added by implementing the interface methods of <a ext:cls="Ext.dd.DragDrop" href="output/Ext.dd.DragDrop.html">Ext.dd.DragDrop</a> eg: <pre><code>new Ext.Panel({ title: <em>'Drag me'</em>, x: 100, y: 100, renderTo: Ext.getBody(), floating: true, frame: true, width: 400, height: 200, draggable: {<i>// Config option of Ext.Panel.DD class.</i><i>// It's a floating Panel, so <b>do</b> not show a placeholder proxy <b>in</b> the original position.</i> insertProxy: false,<i>// Called <b>for</b> each mousemove event <b>while</b> dragging the DD object.</i> onDrag : <b>function</b>(e){<i>// Record the x,y position of the drag proxy so that we can</i><i>// position the Panel at end of drag.</i> <b>var</b> pel = <b>this</b>.proxy.getEl(); <b>this</b>.x = pel.getLeft(true); <b>this</b>.y = pel.getTop(true);<i>// Keep the Shadow aligned <b>if</b> there is one.</i> <b>var</b> s = <b>this</b>.panel.getEl().shadow; <b>if</b> (s) { s.realign(<b>this</b>.x, <b>this</b>.y, pel.getWidth(), pel.getHeight()); } },<i>// Called on the mouseup event.</i> endDrag : <b>function</b>(e){ <b>this</b>.panel.setPosition(<b>this</b>.x, <b>this</b>.y); } }}).show();</code></pre> </div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Panel" ext:member="#draggable" href="output/Ext.Panel.html#draggable">Panel</a></td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-enableColumnHide"></a>
<b>enableColumnHide</b> : Boolean <div class="mdesc">
True to enable hiding of columns with the header context menu. </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row alt">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-enableColumnMove"></a>
<b>enableColumnMove</b> : Boolean <div class="mdesc">
True to enable drag and drop reorder of columns. </div>
</td>
<td class="msource">GridPanel</td>
</tr>
<tr class="config-row">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.grid.GridPanel-enableColumnResize"></a>
<b>enableColumnResize</b> : Boolean <div class="mdesc">
False to turn off column resizing for the whole grid (defaults to true). </div>
</td>
<td class="msource">GridPanel</td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?