X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..f562e4c6e5fac7bcb445985b99acbea4d706e6f0:/docs/source/Container2.html diff --git a/docs/source/Container2.html b/docs/source/Container2.html index 82b08102..d54c25b1 100644 --- a/docs/source/Container2.html +++ b/docs/source/Container2.html @@ -1,14 +1,28 @@ -
/**
+
+
+
+
+ The source code
+
+
+
+
+
+
+ /**
* @class Ext.grid.header.Container
* @extends Ext.container.Container
- * @private
*
* Container which holds headers and is docked at the top or bottom of a TablePanel.
* The HeaderContainer drives resizing/moving/hiding of columns within the TableView.
* As headers are hidden, moved or resized the headercontainer is responsible for
* triggering changes within the view.
- *
- * @xtype headercontainer
*/
Ext.define('Ext.grid.header.Container', {
extend: 'Ext.container.Container',
@@ -28,14 +42,14 @@ Ext.define('Ext.grid.header.Container', {
baseCls: Ext.baseCSSPrefix + 'grid-header-ct',
dock: 'top',
- /**
+ /**
* @cfg {Number} weight
* HeaderContainer overrides the default weight of 0 for all docked items to 100.
* This is so that it has more priority over things like toolbars.
*/
weight: 100,
defaultType: 'gridcolumn',
- /**
+ /**
* @cfg {Number} defaultWidth
* Width of the header if no width or flex is specified. Defaults to 100.
*/
@@ -58,13 +72,13 @@ Ext.define('Ext.grid.header.Container', {
dragging: false,
- /**
+ /**
* <code>true</code> if this HeaderContainer is in fact a group header which contains sub headers.
* @type Boolean
* @property isGroupHeader
*/
- /**
+ /**
* @cfg {Boolean} sortable
* Provides the default sortable state for all Headers within this HeaderContainer.
* Also turns on or off the menus in the HeaderContainer. Note that the menu is
@@ -72,10 +86,10 @@ Ext.define('Ext.grid.header.Container', {
* items for every header.
*/
sortable: true,
-
+
initComponent: function() {
var me = this;
-
+
me.headerCounter = 0;
me.plugins = me.plugins || [];
@@ -89,7 +103,7 @@ Ext.define('Ext.grid.header.Container', {
me.reorderer = Ext.create('Ext.grid.plugin.HeaderReorderer');
if (!me.enableColumnResize) {
me.resizer.disable();
- }
+ }
if (!me.enableColumnMove) {
me.reorderer.disable();
}
@@ -117,7 +131,7 @@ Ext.define('Ext.grid.header.Container', {
});
me.callParent();
me.addEvents(
- /**
+ /**
* @event columnresize
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
@@ -125,7 +139,7 @@ Ext.define('Ext.grid.header.Container', {
*/
'columnresize',
- /**
+ /**
* @event headerclick
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
@@ -134,7 +148,7 @@ Ext.define('Ext.grid.header.Container', {
*/
'headerclick',
- /**
+ /**
* @event headertriggerclick
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
@@ -143,7 +157,7 @@ Ext.define('Ext.grid.header.Container', {
*/
'headertriggerclick',
- /**
+ /**
* @event columnmove
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
@@ -151,26 +165,26 @@ Ext.define('Ext.grid.header.Container', {
* @param {Number} toIdx
*/
'columnmove',
- /**
+ /**
* @event columnhide
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
*/
'columnhide',
- /**
+ /**
* @event columnshow
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
*/
'columnshow',
- /**
+ /**
* @event sortchange
* @param {Ext.grid.header.Container} ct The grid's header Container which encapsulates all column headers.
* @param {Ext.grid.column.Column} column The Column header Component which provides the column definition
* @param {String} direction
*/
'sortchange',
-
\ No newline at end of file
+
+
+