Roo.util.Observable Roo.bootstrap.Table.ColumnModel
Package: | Roo.bootstrap.Table |
Defined In: | Roo/bootstrap/Table/ColumnModel.js. |
Class: | ColumnModel |
Extends: | Roo.util.Observable |
Options | Defined By | |
---|---|---|
align : String
(Optional) Set the CSS text-align property of the column.
(Optional) Set the CSS text-align property of the column. Defaults to undefined.
|
Roo.bootstrap.Table.ColumnModel | |
dataIndex : String
(Optional) The name of the field in the grid's {link Roo.data.Store}'s
{link Roo.data.Record} definition from which to draw the column's value. (Optional) The name of the field in the grid's {link Roo.data.Store}'s
{link Roo.data.Record} definition from which to draw the column's value. If not specified, the column's index is used as an index into the Record's data Array. |
Roo.bootstrap.Table.ColumnModel | |
fixed : Boolean
(Optional) True if the column width cannot be changed.
(Optional) True if the column width cannot be changed. Defaults to false.
|
Roo.bootstrap.Table.ColumnModel | |
header : String
The header text to display in the Grid view.
The header text to display in the Grid view.
|
Roo.bootstrap.Table.ColumnModel | |
hidden : Boolean
(Optional) True to hide the column.
(Optional) True to hide the column. Defaults to false.
|
Roo.bootstrap.Table.ColumnModel | |
listeners : Object
list of events and functions to call for this object,
For example :
list of events and functions to call for this object,
For example :
|
Roo.util.Observable | |
locked : Boolean
(Optional) True to lock the column in place while scrolling the Grid.
(Optional) True to lock the column in place while scrolling the Grid. Defaults to false.
|
Roo.bootstrap.Table.ColumnModel | |
renderer : Function
(Optional) A function used to generate HTML markup for a cell
given the cell's data value. (Optional) A function used to generate HTML markup for a cell
given the cell's data value. See {link setRenderer}. If not specified, the default renderer uses the raw data value. |
Roo.bootstrap.Table.ColumnModel | |
resizable : Boolean
(Optional) False to disable column resizing.
(Optional) False to disable column resizing. Defaults to true.
|
Roo.bootstrap.Table.ColumnModel | |
sortable : Boolean
(Optional) True if sorting is to be allowed on this column.
(Optional) True if sorting is to be allowed on this column.
Defaults to the value of the {link defaultSortable} property. Whether local/remote sorting is used is specified in {link Roo.data.StoreremoteSort}. |
Roo.bootstrap.Table.ColumnModel | |
width : Number
(Optional) The initial width in pixels of the column.
(Optional) The initial width in pixels of the column. Using this
instead of {link Roo.grid.GridautoSizeColumns} is more efficient. |
Roo.bootstrap.Table.ColumnModel |
Method | Defined By | |
---|---|---|
new Roo.bootstrap.Table.ColumnModel
(Object config)
Create a new Roo.bootstrap.Table.ColumnModel
Create a new Roo.bootstrap.Table.ColumnModel
|
||
addEvents
(Object object)
Used to define events on this Observable
Used to define events on this Observable
|
Roo.util.Observable | |
Appends an event handler to this component
Appends an event handler to this component
|
Roo.util.Observable | |
Roo.bootstrap.Table.ColumnModel | ||
Fires the specified event with the passed parameters (minus the event name).
|
Roo.util.Observable | |
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
getColumnCount
()
:
Number
Returns the number of columns.
Returns the number of columns.
|
Roo.bootstrap.Table.ColumnModel | |
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.util.Observable | ||
Roo.bootstrap.Table.ColumnModel | ||
isFixed
()
Returns true if the column width cannot be changed
Returns true if the column width cannot be changed
|
Roo.bootstrap.Table.ColumnModel | |
Roo.bootstrap.Table.ColumnModel | ||
isResizable
()
:
Boolean
Returns true if the column can be resized
Returns true if the column can be resized
|
Roo.bootstrap.Table.ColumnModel | |
Roo.bootstrap.Table.ColumnModel | ||
Appends an event handler to this element (shorthand for addListener)
Appends an event handler to this element (shorthand for addListener)
|
Roo.util.Observable | |
purgeListeners
()
Removes all listeners for this object
Removes all listeners for this object
|
Roo.util.Observable | |
Roo.util.Observable | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Sets the rendering (formatting) function for a column.
Sets the rendering (formatting) function for a column.
|
Roo.bootstrap.Table.ColumnModel | |
Roo.util.Observable |
Event | Defined By | |
---|---|---|
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel | ||
Roo.bootstrap.Table.ColumnModel |