📄 ext.grid.propertycolumnmodel.html
字号:
</div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnCount" href="output/Ext.grid.ColumnModel.html#getColumnCount">ColumnModel</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.PropertyColumnModel-getColumnHeader"></a> <b>getColumnHeader</b>( <code>Number col</code> ) : String <div class="mdesc"> <div class="short">Returns the header for the specified column.</div> <div class="long"> Returns the header for the specified column. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>col</code> : Number<div class="sub-desc">The column index</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnHeader" href="output/Ext.grid.ColumnModel.html#getColumnHeader">ColumnModel</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.PropertyColumnModel-getColumnId"></a> <b>getColumnId</b>( <code>Number index</code> ) : String <div class="mdesc"> <div class="short">Returns the id of the column at the specified index.</div> <div class="long"> Returns the id of the column at the specified index. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>index</code> : Number<div class="sub-desc">The column index</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code><div class="sub-desc">the id</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnId" href="output/Ext.grid.ColumnModel.html#getColumnId">ColumnModel</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.PropertyColumnModel-getColumnTooltip"></a> <b>getColumnTooltip</b>( <code>Number col</code> ) : String <div class="mdesc"> <div class="short">Returns the tooltip for the specified column.</div> <div class="long"> Returns the tooltip for the specified column. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>col</code> : Number<div class="sub-desc">The column index</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnTooltip" href="output/Ext.grid.ColumnModel.html#getColumnTooltip">ColumnModel</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.PropertyColumnModel-getColumnWidth"></a> <b>getColumnWidth</b>( <code>Number col</code> ) : Number <div class="mdesc"> <div class="short">Returns the width for the specified column.</div> <div class="long"> Returns the width for the specified column. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>col</code> : Number<div class="sub-desc">The column index</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Number</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnWidth" href="output/Ext.grid.ColumnModel.html#getColumnWidth">ColumnModel</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.PropertyColumnModel-getColumnsBy"></a> <b>getColumnsBy</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span> ) : Array <div class="mdesc"> <div class="short">Returns the column configs that return true by the passed function that is called with (columnConfig, index)</div> <div class="long"> Returns the column configs that return true by the passed function that is called with (columnConfig, index) <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>fn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Array</code><div class="sub-desc">result</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getColumnsBy" href="output/Ext.grid.ColumnModel.html#getColumnsBy">ColumnModel</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.PropertyColumnModel-getDataIndex"></a> <b>getDataIndex</b>( <code>Number col</code> ) : String <div class="mdesc"> <div class="short">Returns the dataIndex for the specified column.</div> <div class="long"> Returns the dataIndex for the specified column. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>col</code> : Number<div class="sub-desc">The column index</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code><div class="sub-desc">The column's dataIndex</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getDataIndex" href="output/Ext.grid.ColumnModel.html#getDataIndex">ColumnModel</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.PropertyColumnModel-getIndexById"></a> <b>getIndexById</b>( <code>String id</code> ) : Number <div class="mdesc"> <div class="short">Returns the index for a specified column id.</div> <div class="long"> Returns the index for a specified column id. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>id</code> : String<div class="sub-desc">The column id</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Number</code><div class="sub-desc">the index, or -1 if not found</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getIndexById" href="output/Ext.grid.ColumnModel.html#getIndexById">ColumnModel</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.PropertyColumnModel-getRenderer"></a> <b>getRenderer</b>( <code>Number col</code> ) : Function <div class="mdesc"> <div class="short">Returns the rendering (formatting) function defined for the column.</div> <div class="long"> Returns the rendering (formatting) function defined for the column. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>col</code> : Number<div class="sub-desc">The column index.</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Function</code><div class="sub-desc">The function used to render the cell. See {@link #setRenderer}.</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getRenderer" href="output/Ext.grid.ColumnModel.html#getRenderer">ColumnModel</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.PropertyColumnModel-getTotalWidth"></a> <b>getTotalWidth</b>( <code>Boolean includeHidden</code> ) : Number <div class="mdesc"> <div class="short">Returns the total width of all columns.</div> <div class="long"> Returns the total width of all columns. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>includeHidden</code> : Boolean<div class="sub-desc">True to include hidden column widths</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Number</code></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.grid.ColumnModel" ext:member="#getTotalWidth" href="output/Ext.grid.ColumnModel.html#getTotalWidth">ColumnModel</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.PropertyColumnModel-hasListener"></a> <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc"> <div class="short">Checks to see if this object has any listeners for a specified event</div> <div class="long"> Checks to see if this object has any listeners for a specified event <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</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.PropertyColumnModel-isCellEditable"></a> <b>isCellEditable</b>( <code>Number colIndex</code>, <code>Number rowIndex</code> ) : Boolean <div class="mdesc"> <div class="short">Returns true if the cell is editable.</div> <div class="long"> Returns true if the cell is editable. <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>colIndex</code> : Number<div class="sub-desc">The column index</div></li><li><code>rowIndex</code> : Number<div class="sub-desc">The row index</div></li> </ul>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -