-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-grid.column.Column'>/**
+<!DOCTYPE html>
+<html>
+<head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title>The source code</title>
+ <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+ <script type="text/javascript" src="../prettify/prettify.js"></script>
+ <style type="text/css">
+ .highlight { display: block; background-color: #ddd; }
+ </style>
+ <script type="text/javascript">
+ function highlight() {
+ document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+ }
+ </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+ <pre class="prettyprint lang-js"><span id='Ext-grid-column-Column'>/**
</span> * @class Ext.grid.column.Column
* @extends Ext.grid.header.Container
*
'<tpl if="!values.menuDisabled"><div class="' + Ext.baseCSSPrefix + 'column-header-trigger"></div></tpl>' +
'</div>',
-<span id='Ext-grid.column.Column-cfg-columns'> /**
+<span id='Ext-grid-column-Column-cfg-columns'> /**
</span> * @cfg {Array} columns
* <p>An optional array of sub-column definitions. This column becomes a group, and houses the columns defined in the <code>columns</code> config.</p>
* <p>Group columns may not be sortable. But they may be hideable and moveable. And you may move headers into and out of a group. Note that
* if all sub columns are dragged out of a group, the group is destroyed.
*/
-<span id='Ext-grid.column.Column-cfg-dataIndex'> /**
+<span id='Ext-grid-column-Column-cfg-dataIndex'> /**
</span> * @cfg {String} dataIndex <p><b>Required</b>. The name of the field in the
* grid's {@link Ext.data.Store}'s {@link Ext.data.Model} definition from
* which to draw the column's value.</p>
*/
dataIndex: null,
-<span id='Ext-grid.column.Column-cfg-text'> /**
+<span id='Ext-grid-column-Column-cfg-text'> /**
</span> * @cfg {String} text Optional. The header text to be used as innerHTML
* (html tags are accepted) to display in the Grid. <b>Note</b>: to
* have a clickable header with no text displayed you can use the
*/
text: '&#160',
-<span id='Ext-grid.column.Column-cfg-sortable'> /**
+<span id='Ext-grid-column-Column-cfg-sortable'> /**
</span> * @cfg {Boolean} sortable Optional. <tt>true</tt> if sorting is to be allowed on this column.
* Whether local/remote sorting is used is specified in <code>{@link Ext.data.Store#remoteSort}</code>.
*/
sortable: true,
-<span id='Ext-grid.column.Column-cfg-groupable'> /**
+<span id='Ext-grid-column-Column-cfg-groupable'> /**
</span> * @cfg {Boolean} groupable Optional. If the grid uses a {@link Ext.grid.feature.Grouping}, this option
* may be used to disable the header menu item to group by the column selected. By default,
* the header menu group option is enabled. Set to false to disable (but still show) the
* group option in the header menu for the column.
*/
-<span id='Ext-grid.column.Column-cfg-hideable'> /**
+<span id='Ext-grid-column-Column-cfg-hideable'> /**
</span> * @cfg {Boolean} hideable Optional. Specify as <tt>false</tt> to prevent the user from hiding this column
* (defaults to true).
*/
hideable: true,
-<span id='Ext-grid.column.Column-cfg-menuDisabled'> /**
+<span id='Ext-grid-column-Column-cfg-menuDisabled'> /**
</span> * @cfg {Boolean} menuDisabled
* True to disabled the column header menu containing sort/hide options. Defaults to false.
*/
menuDisabled: false,
-<span id='Ext-grid.column.Column-cfg-renderer'> /**
+<span id='Ext-grid-column-Column-cfg-renderer'> /**
</span> * @cfg {Function} renderer
* <p>A renderer is an 'interceptor' method which can be used transform data (value, appearance, etc.) before it
* is rendered. Example:</p>
*/
renderer: false,
-<span id='Ext-grid.column.Column-cfg-align'> /**
+<span id='Ext-grid-column-Column-cfg-align'> /**
</span> * @cfg {String} align Sets the alignment of the header and rendered columns.
* Defaults to 'left'.
*/
align: 'left',
-<span id='Ext-grid.column.Column-cfg-draggable'> /**
+<span id='Ext-grid-column-Column-cfg-draggable'> /**
</span> * @cfg {Boolean} draggable Indicates whether or not the header can be drag and drop re-ordered.
* Defaults to true.
*/
// override this with an emptyFn. It is controlled at the HeaderDragZone.
initDraggable: Ext.emptyFn,
-<span id='Ext-grid.column.Column-cfg-tdCls'> /**
+<span id='Ext-grid-column-Column-cfg-tdCls'> /**
</span> * @cfg {String} tdCls <p>Optional. A CSS class names to apply to the table cells for this column.</p>
*/
-<span id='Ext-grid.column.Column-property-triggerEl'> /**
+<span id='Ext-grid-column-Column-property-triggerEl'> /**
</span> * @property {Ext.core.Element} triggerEl
*/
-<span id='Ext-grid.column.Column-property-textEl'> /**
+<span id='Ext-grid-column-Column-property-textEl'> /**
</span> * @property {Ext.core.Element} textEl
*/
-<span id='Ext-grid.column.Column-property-isHeader'> /**
+<span id='Ext-grid-column-Column-property-isHeader'> /**
</span> * @private
* Set in this class to identify, at runtime, instances which are not instances of the
* HeaderContainer base class, but are in fact, the subclass: Header.
return this.up(':not([isHeader])');
},
-<span id='Ext-grid.column.Column-method-getIndex'> /**
+<span id='Ext-grid-column-Column-method-getIndex'> /**
</span> * Returns the true grid column index assiciated with this Column only if this column is a base level Column.
* If it is a group column, it returns <code>false</code>
*/
this.onElClick(e, this.el.dom);
},
-<span id='Ext-grid.column.Column-method-onElDblClick'> /**
+<span id='Ext-grid-column-Column-method-onElDblClick'> /**
</span> * @private
* Double click
* @param e
}
},
-<span id='Ext-grid.column.Column-method-processEvent'> /**
+<span id='Ext-grid-column-Column-method-processEvent'> /**
</span> * @private
* Process UI events from the view. The owning TablePanel calls this method, relaying events from the TableView
* @param {String} type Event type, eg 'click'
});
},
-<span id='Ext-grid.column.Column-method-getSortParam'> /**
+<span id='Ext-grid-column-Column-method-getSortParam'> /**
</span> * Returns the parameter to sort upon when sorting this header. By default
* this returns the dataIndex and will not need to be overriden in most cases.
*/
return (this.el.getRight() - e.getXY()[0] <= this.handleWidth);
}
-<span id='Ext-grid.column.Column-method-getEditor'> /**
+<span id='Ext-grid-column-Column-method-getEditor'> /**
</span> * Retrieves the editing field for editing associated with this header. Returns false if there
* is no field associated with the Header the method will return false. If the
* field has not been instantiated it will be created. Note: These methods only has an implementation
// when the editing plugin is injected
-<span id='Ext-grid.column.Column-method-setEditor'> /**
+<span id='Ext-grid-column-Column-method-setEditor'> /**
</span> * Sets the form field to be used for editing. Note: This method only has an implementation
* if an Editing plugin has been enabled on the grid.
* @param {Mixed} field An object representing a field to be created. If no xtype is specified a 'textfield' is assumed.
* @method setEditor
*/
-});</pre></pre></body></html>
\ No newline at end of file
+});</pre>
+</body>
+</html>