X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/output/Ext.grid.ColumnModel.html diff --git a/docs/output/Ext.grid.ColumnModel.html b/docs/output/Ext.grid.ColumnModel.html index 87d70993..9e011b7f 100644 --- a/docs/output/Ext.grid.ColumnModel.html +++ b/docs/output/Ext.grid.ColumnModel.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  ColumnModel

Class Ext.grid.ColumnModel

Package:Ext.grid
Defined In:ColumnModel.js
Class:ColumnModel
Subclasses:PropertyColumnModel
Extends:Observable

After the data has been read into the client side cache (Store), +

Observable
  ColumnModel

Class Ext.grid.ColumnModel

Package:Ext.grid
Defined In:ColumnModel.js
Class:ColumnModel
Subclasses:PropertyColumnModel
Extends:Observable

After the data has been read into the client side cache (Store), the ColumnModel is used to configure how and what parts of that data will be displayed in the vertical slices (columns) of the grid. The Ext.grid.ColumnModel Class is the default implementation of a ColumnModel used by implentations of GridPanel.

@@ -195,7 +195,7 @@ Or a shorthand syntax:
scope: this });
Returns:
  • void
Observable destroy() : - void
Destroys this column model by purging any event listeners, and removing any editors.
Destroys this column model by purging any event listeners, and removing any editors.
Parameters:
  • None.
Returns:
  • void
ColumnModel enableBubbleObject events ) + void
Destroys this column model by purging any event listeners, and removing any editors.
Destroys this column model by purging any event listeners, and removing any editors.
Parameters:
  • None.
Returns:
  • void
ColumnModel enableBubbleString/Array events ) : void
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if present...

Enables events fired by this Observable to bubble up an owner hierarchy by calling @@ -204,13 +204,13 @@ this.getBubbleTarget() if present...

Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly.

Example:

Ext.override(Ext.form.Field, {
-//  Add functionality to Field's initComponent to enable the change event to bubble

-    initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
-        this.enableBubble('change');
+    //  Add functionality to Field's initComponent to enable the change event to bubble

+    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+        this.enableBubble('change');
     }),
 
-//  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget: function() {
+    //  We know that we want Field's events to bubble directly to the FormPanel.

+    getBubbleTarget : function() {
         if (!this.formPanel) {
             this.formPanel = this.findParentByType('form');
         }
@@ -225,11 +225,11 @@ access the required target more quickly.

}], listeners: { change: function() { -// Title goes red if form has been modified. - myForm.header.setStyle("color", "red"); + // Title goes red if form has been modified. + myForm.header.setStyle('color', 'red'); } } -});
Parameters:
  • events : Object
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable findColumnIndexString col ) +});
Parameters:Returns:
Observable findColumnIndexString col ) : Number
Finds the index of the first matching column for the given dataIndex.
Finds the index of the first matching column for the given dataIndex.
Parameters:
  • col : String
    The dataIndex to find
Returns:
  • Number
    The column index, or -1 if no match was found
ColumnModel fireEventString eventNameObject... args ) : @@ -260,7 +260,9 @@ with (columnConfig, index)
// returns an array of column config objects for all hidden columns
 var columns = grid.getColumnModel().getColumnsBy(function(c){
   return c.hidden;
-});
Parameters:Returns:
ColumnModel getDataIndexNumber col ) +});
Parameters:Returns:
ColumnModel getDataIndexNumber col ) : String
Returns the dataIndex for the specified column. // Get field name for the column