X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.grid.ColumnModel.html diff --git a/docs/output/Ext.grid.ColumnModel.html b/docs/output/Ext.grid.ColumnModel.html index 08140f45..627c5f04 100644 --- a/docs/output/Ext.grid.ColumnModel.html +++ b/docs/output/Ext.grid.ColumnModel.html @@ -1,4 +1,4 @@ -
Observable 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
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.
@@ -22,7 +22,7 @@ objects to define the initial layout / display of the columns in the Grid. The o Ext.grid.Column column configuration object within the specified Array defines the initial order of the column display. A Column's display may be initially hidden using the hidden config property (and then shown using the column -header menu). Field's that are not included in the ColumnModel will not be displayable at all. +header menu). Fields that are not included in the ColumnModel will not be displayable at all.How each column in the grid correlates (maps) to the Ext.data.Record field in the Store the column draws its data from is configured through the dataIndex. If the @@ -138,9 +138,11 @@ of this ColumnModel. See Ext.grid.Column for th...
Method | Defined By | |
---|---|---|
ColumnModel( Mixed config )
Parameters:
| ColumnModel | |
addEvents( Object object )
+a configuration Object (see introductory section discussion utilizing Initialization Method 2 above).Returns:
| ColumnModel | |
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| 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:
| ColumnModel | |
enableBubble( Object events )
- :
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
findColumnIndex( String col )
+ voidDestroys 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:
| ColumnModel | |
enableBubble( String/Array events )
+ :
+ voidEnables 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
+ This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +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:
Parameters:
| Observable | |
findColumnIndex( String col )
:
NumberFinds the index of the first matching column for the given dataIndex. Finds the index of the first matching column for the given dataIndex. Parameters:
| ColumnModel | |
fireEvent( String eventName , Object... args )
:
@@ -226,7 +260,9 @@ with (columnConfig, index)
Parameters:
| ColumnModel | |
getDataIndex( Number col )
+});Parameters:
| ColumnModel | |
getDataIndex( Number col )
:
StringReturns the dataIndex for the specified column.
// Get field name for the column
@@ -260,11 +296,15 @@ var colModel = new Ext.grid.ColumnModel(... Returns true
store: store,
colModel: colModel,
...
-}); Parameters:
| ColumnModel | |
isFixed()
+}); Parameters:
| ColumnModel | |
isFixed( Number colIndex )
:
- voidReturns true if the column width cannot be changed Returns true if the column width cannot be changed Parameters:
| ColumnModel | |
isHidden( Number colIndex )
+ BooleanReturns true if the column is fixed,
+false otherwise. Returns true if the column is fixed ,
+false otherwise.Parameters:
| ColumnModel | |
isHidden( Number colIndex )
:
- BooleanReturns true if the column is hidden. Returns true if the column is hidden. Parameters:
| ColumnModel | |
isMenuDisabled( Number col )
+ BooleanReturns true if the column is hidden,
+false otherwise. Returns true if the column is hidden ,
+false otherwise.Parameters:
| ColumnModel | |
isMenuDisabled( Number col )
:
BooleanReturns true if the specified column menu is disabled. Returns true if the specified column menu is disabled. Parameters:
| ColumnModel | |
isResizable() : |