X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..refs/heads/old:/docs/output/Ext.grid.BooleanColumn.html?ds=inline diff --git a/docs/output/Ext.grid.BooleanColumn.html b/docs/output/Ext.grid.BooleanColumn.html index 3c8cdfb6..d0dde9ee 100644 --- a/docs/output/Ext.grid.BooleanColumn.html +++ b/docs/output/Ext.grid.BooleanColumn.html @@ -1,160 +1,171 @@ -
Column BooleanColumn
Package: | Ext.grid |
Defined In: | Column.js |
Class: | BooleanColumn |
Extends: | Column |
A Column definition class which renders boolean data fields. See the xtype -config option of Ext.grid.Column for more details.
Config Options | Defined By | |
---|---|---|
align : String Optional. Set the CSS text-align property of the column. Defaults to undefined. | Column | |
css : String Optional. An inline style definition string which is applied to all table cells in the column
-(excluding headers). D... Optional. An inline style definition string which is applied to all table cells in the column
-(excluding headers). Defaults to undefined. | Column | |
dataIndex : String Required. The name of the field in the
-grid's Ext.data.Store's Ext.data.Record definition from
-which to draw the co... Required. The name of the field in the -grid's Ext.data.Store's Ext.data.Record definition from -which to draw the column's value. | Column | |
editable : Boolean Optional. Defaults to true, enabling the configured
-editor. Set to false to initially disable editing on this colum... Optional. Defaults to true, enabling the configured
-editor. Set to false to initially disable editing on this column.
-The initial configuration may be dynamically altered using
-Ext.grid.ColumnModel.setEditable(). | Column | |
editor : Ext.form.Field Optional. The Ext.form.Field to use when editing values in this column
-if editing is supported by the grid. See edit... Optional. The Ext.form.Field to use when editing values in this column
-if editing is supported by the grid. See editable also. | Column | |
emptyGroupText : String Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to specify the text to ... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to specify the text to display when there is an empty group value. Defaults to the
-Ext.grid.GroupingView.emptyGroupText. | Column | |
falseText : String The string returned by the renderer when the column value is falsey (but not undefined) (defaults to
-'false'). | BooleanColumn | |
fixed : Boolean Optional. true if the column width cannot be changed. Defaults to false. | Column | |
groupName : String Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to specify the text wit... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to specify the text with which to prefix the group field value in the group header line.
-See also groupRenderer and
-Ext.grid.GroupingView.showGroupName. | Column | |
groupRenderer : Function Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to specify the function... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option -may be used to specify the function used to format the grouping field value for display in the group -header. If a groupRenderer is not specified, the configured -renderer will be called; if a renderer is also not specified -the new value of the group field will be used. -The called function (either the groupRenderer or renderer) will be -passed the following parameters: -
The function should return a string value. | Column | |
groupable : Boolean Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to disable the header m... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
-may be used to disable the header menu item to group by the column selected. Defaults to true,
-which enables the header menu group option. Set to false to disable (but still show) the
-group option in the header menu for the column. See also groupName . | Column | |
header : String Optional. The header text to be used as innerHTML
-(html tags are accepted) to display in the Grid view. Note: to
-h... Optional. The header text to be used as innerHTML
-(html tags are accepted) to display in the Grid view. Note: to
-have a clickable header with no text displayed use ' '. | Column | |
hidden : Boolean Optional. true to initially hide this column. Defaults to false.
-A hidden column may be shown via the header row men... Optional. true to initially hide this column. Defaults to false.
-A hidden column may be shown via the header row menu.
-If a column is never to be shown, simply do not include this column in the Column Model at all. | Column | |
hideable : Boolean Optional. Specify as false to prevent the user from hiding this column
-(defaults to true). To disallow column hidin... Optional. Specify as false to prevent the user from hiding this column
-(defaults to true). To disallow column hiding globally for all columns in the grid, use
-Ext.grid.GridPanel.enableColumnHide instead. | Column | |
id : String Optional. A name which identifies this column (defaults to the column's initial
-ordinal position.) The id is used to... Optional. A name which identifies this column (defaults to the column's initial
-ordinal position.) The id is used to create a CSS class name which is applied to all
-table cells (including headers) in that column (in this context the id does not need to be
-unique). The class name takes the form of x-grid3-td-id-Header cells will also receive this class name, but will also have the class x-grid3-hd-So, to target header cells, use CSS selectors such as: .x-grid3-hd-row .x-grid3-td-id-The Ext.grid.GridPanel.autoExpandColumn grid config option references the column via this -unique identifier. | Column | |
menuDisabled : Boolean Optional. true to disable the column menu. Defaults to false. | Column | |
renderer : Mixed For an alternative to specifying a renderer see xtype
-Optional. A renderer is an 'interceptor' method which can be u... For an alternative to specifying a renderer see Optional. A renderer is an 'interceptor' method which can be used transform data (value, -appearance, etc.) before it is rendered). This may be specified in either of three ways: -
For information about the renderer function (passed parameters, etc.), see -Ext.grid.ColumnModel.setRenderer. An example of specifying renderer function inline:
-See also scope. | Column | |
resizable : Boolean Optional. false to disable column resizing. Defaults to true. | Column | |
scope : Object Optional. The scope (this reference) in which to execute the
-renderer. Defaults to the Column configuration object. | Column | |
sortable : Boolean Optional. true if sorting is to be allowed on this column.
-Defaults to the value of the Ext.grid.ColumnModel.default... Optional. true if sorting is to be allowed on this column.
-Defaults to the value of the Ext.grid.ColumnModel.defaultSortable property.
-Whether local/remote sorting is used is specified in Ext.data.Store.remoteSort . | Column | |
tooltip : String Optional. A text string to use as the column header's tooltip. If Quicktips
-are enabled, this value will be used as... Optional. A text string to use as the column header's tooltip. If Quicktips
-are enabled, this value will be used as the text of the quick tip, otherwise it will be set as the
-header's HTML title attribute. Defaults to ''. | Column | |
trueText : String The string returned by the renderer when the column value is not falsey (defaults to 'true'). | BooleanColumn | |
undefinedText : String The string returned by the renderer when the column value is undefined (defaults to ' '). | BooleanColumn | |
width : Number Optional. The initial width in pixels of the column.
-The width of each column can also be affected if any of the fol... Optional. The initial width in pixels of the column.
-The width of each column can also be affected if any of the following are configured:
-
Note: when the width of each column is determined, a space on the right side -is reserved for the vertical scrollbar. The -Ext.grid.GridView.scrollOffset -can be modified to reduce or eliminate the reserved offset. | Column | |
xtype : String Optional. A String which references a predefined Ext.grid.Column subclass
-type which is preconfigured with an approp... Optional. A String which references a predefined Ext.grid.Column subclass
-type which is preconfigured with an appropriate renderer to be easily
-configured into a ColumnModel. The predefined Ext.grid.Column subclass types are:
-
Configuration properties for the specified
| Column |
Property | Defined By | |
---|---|---|
renderer : Function Optional. A function which returns displayable data when passed the following parameters:
-<div class="mdetail-params... Optional. A function which returns displayable data when passed the following parameters:
-
| Column |
Method | Defined By | |
---|---|---|
getCellEditor( Number rowIndex )
- :
- Ext.Editor | Column |
Column + BooleanColumn
Package: | Ext.grid |
Defined In: | Column.js |
Class: | BooleanColumn |
Extends: | Column |
A Column definition class which renders boolean data fields. See the xtype +config option of Ext.grid.Column for more details.
Config Options | Defined By | |
---|---|---|
align : String Optional. Set the CSS text-align property of the column. Defaults to undefined. | Column | |
css : String Optional. An inline style definition string which is applied to all table cells in the column
+(excluding headers). De... Optional. An inline style definition string which is applied to all table cells in the column
+(excluding headers). Defaults to undefined. | Column | |
dataIndex : String Required. The name of the field in the
+grid's Ext.data.Store's Ext.data.Record definition from
+which to draw the colu... Required. The name of the field in the +grid's Ext.data.Store's Ext.data.Record definition from +which to draw the column's value. | Column | |
editable : Boolean Optional. Defaults to true, enabling the configured
+editor. Set to false to initially disable editing on this column... Optional. Defaults to true, enabling the configured
+editor. Set to false to initially disable editing on this column.
+The initial configuration may be dynamically altered using
+Ext.grid.ColumnModel.setEditable(). | Column | |
editor : Ext.form.Field Optional. The Ext.form.Field to use when editing values in this column
+if editing is supported by the grid. See edita... Optional. The Ext.form.Field to use when editing values in this column
+if editing is supported by the grid. See editable also. | Column | |
emptyGroupText : String Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to specify the text to d... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to specify the text to display when there is an empty group value. Defaults to the
+Ext.grid.GroupingView.emptyGroupText. | Column | |
falseText : String The string returned by the renderer when the column value is falsy (but not undefined) (defaults to
+'false'). | BooleanColumn | |
fixed : Boolean Optional. true if the column width cannot be changed. Defaults to false. | Column | |
groupName : String Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to specify the text with... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to specify the text with which to prefix the group field value in the group header line.
+See also groupRenderer and
+Ext.grid.GroupingView.showGroupName. | Column | |
groupRenderer : Function Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to specify the function ... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option +may be used to specify the function used to format the grouping field value for display in the group +header. If a groupRenderer is not specified, the configured +renderer will be called; if a renderer is also not specified +the new value of the group field will be used. +The called function (either the groupRenderer or renderer) will be +passed the following parameters: +
The function should return a string value. | Column | |
groupable : Boolean Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to disable the header me... Optional. If the grid is being rendered by an Ext.grid.GroupingView, this option
+may be used to disable the header menu item to group by the column selected. Defaults to true,
+which enables the header menu group option. Set to false to disable (but still show) the
+group option in the header menu for the column. See also groupName . | Column | |
header : String Optional. The header text to be used as innerHTML
+(html tags are accepted) to display in the Grid view. Note: to
+hav... Optional. The header text to be used as innerHTML
+(html tags are accepted) to display in the Grid view. Note: to
+have a clickable header with no text displayed use ' '. | Column | |
hidden : Boolean Optional. true to initially hide this column. Defaults to false.
+A hidden column may be shown via the header row menu... Optional. true to initially hide this column. Defaults to false.
+A hidden column may be shown via the header row menu.
+If a column is never to be shown, simply do not include this column in the Column Model at all. | Column | |
hideable : Boolean Optional. Specify as false to prevent the user from hiding this column
+(defaults to true). To disallow column hiding... Optional. Specify as false to prevent the user from hiding this column
+(defaults to true). To disallow column hiding globally for all columns in the grid, use
+Ext.grid.GridPanel.enableColumnHide instead. | Column | |
id : String Optional. A name which identifies this column (defaults to the column's initial
+ordinal position.) The id is used to ... Optional. A name which identifies this column (defaults to the column's initial
+ordinal position.) The id is used to create a CSS class name which is applied to all
+table cells (including headers) in that column (in this context the id does not need to be
+unique). The class name takes the form of x-grid3-td-id+Header cells will also receive this class name, but will also have the class x-grid3-hd+So, to target header cells, use CSS selectors such as: .x-grid3-hd-row .x-grid3-td-id+The Ext.grid.GridPanel.autoExpandColumn grid config option references the column via this +unique identifier. | Column | |
menuDisabled : Boolean Optional. true to disable the column menu. Defaults to false. | Column | |
renderer : Mixed For an alternative to specifying a renderer see xtype
+Optional. A renderer is an 'interceptor' method which can be us... For an alternative to specifying a renderer see Optional. A renderer is an 'interceptor' method which can be used transform data (value, +appearance, etc.) before it is rendered). This may be specified in either of three ways: +
For information about the renderer function (passed parameters, etc.), see +Ext.grid.ColumnModel.setRenderer. An example of specifying renderer function inline:
+See also scope. | Column | |
resizable : Boolean Optional. false to disable column resizing. Defaults to true. | Column | |
scope : Object Optional. The scope (this reference) in which to execute the
+renderer. Defaults to the Column configuration object. | Column | |
sortable : Boolean Optional. true if sorting is to be allowed on this column.
+Defaults to the value of the Ext.grid.ColumnModel.defaultS... Optional. true if sorting is to be allowed on this column.
+Defaults to the value of the Ext.grid.ColumnModel.defaultSortable property.
+Whether local/remote sorting is used is specified in Ext.data.Store.remoteSort . | Column | |
tooltip : String Optional. A text string to use as the column header's tooltip. If Quicktips
+are enabled, this value will be used as ... Optional. A text string to use as the column header's tooltip. If Quicktips
+are enabled, this value will be used as the text of the quick tip, otherwise it will be set as the
+header's HTML title attribute. Defaults to ''. | Column | |
trueText : String The string returned by the renderer when the column value is not falsy (defaults to 'true'). | BooleanColumn | |
undefinedText : String The string returned by the renderer when the column value is undefined (defaults to ' '). | BooleanColumn | |
width : Number Optional. The initial width in pixels of the column.
+The width of each column can also be affected if any of the foll... Optional. The initial width in pixels of the column.
+The width of each column can also be affected if any of the following are configured:
+
Note: when the width of each column is determined, a space on the right side +is reserved for the vertical scrollbar. The +Ext.grid.GridView.scrollOffset +can be modified to reduce or eliminate the reserved offset. | Column | |
xtype : String Optional. A String which references a predefined Ext.grid.Column subclass
+type which is preconfigured with an appropr... Optional. A String which references a predefined Ext.grid.Column subclass
+type which is preconfigured with an appropriate renderer to be easily
+configured into a ColumnModel. The predefined Ext.grid.Column subclass types are:
+
Configuration properties for the specified
| Column |
Property | Defined By | |
---|---|---|
renderer : Function Optional. A function which returns displayable data when passed the following parameters:
+<div class="mdetail-params"... Optional. A function which returns displayable data when passed the following parameters:
+
| Column |
Method | Defined By | |
---|---|---|
getCellEditor( Number rowIndex )
+ :
+ Ext.Editor | Column | |
setEditor( Ext.Editor/Ext.form.Field editor )
+ :
+ voidSets a new editor for this column. Sets a new editor for this column. Parameters:
| Column |
Event | Defined By | |
---|---|---|
click :
+ ( Column this , Grid The , Number rowIndex , Ext.EventObject e )
+ Fires when this Column is clicked. Fires when this Column is clicked. Listeners will be called with the following arguments:
| Column | |
contextmenu :
+ ( Column this , Grid The , Number rowIndex , Ext.EventObject e )
+ Fires when this Column is right clicked. Fires when this Column is right clicked. Listeners will be called with the following arguments:
| Column | |
dblclick :
+ ( Column this , Grid The , Number rowIndex , Ext.EventObject e )
+ Fires when this Column is double clicked. Fires when this Column is double clicked. Listeners will be called with the following arguments:
| Column | |
mousedown :
+ ( Column this , Grid The , Number rowIndex , Ext.EventObject e )
+ Fires when this Column receives a mousedown event. Fires when this Column receives a mousedown event. Listeners will be called with the following arguments:
| Column |