Class wm.DataGridColumn
Extends
wm.Component.
Defined in: DataGrid.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Encapsulates a column in a DataGrid.
|
Property Attributes | Property Name and Description |
---|---|
Note: to support bindings it is recommend that you use the getValue/setValue API to access or modify properties.
|
|
This column will be as wide as needed to fill available space.
|
|
This column will be as wide as needed to fill available space.
|
- Fields borrowed from class wm.Component:
- name, owner
Method Attributes | Method Name and Description |
---|---|
onClick(inRowIndex, inCell, inEvent)
Fires when the user clicks the mouse in this cell.
|
- Methods borrowed from class wm.Component:
- constructor, createComponent, destroy, getId, getRuntimeId
- Methods borrowed from class wm.Object:
- extendSchema, getPropertyType, getPropFlags, getValue, listDataProperties, listProperties, setValue, toString
Class Detail
wm.DataGridColumn()
Encapsulates a column in a DataGrid.
Report errata or suggestions for
DataGridColumn.
Property Detail
Note: to support bindings it is recommend that you use the getValue/setValue API to access or modify properties.
autoSize
This column will be as wide as needed to fill available space.
If there is no space avaiable, the column will be invisible.
If multiple columns are autoSize, the available space
is divided evenly.
Report errata or suggestions for
autoSize.
dataExpression
This column will be as wide as needed to fill available space.
If there is no space avaiable, the column will be invisible.
If multiple columns are autoSize, the available space
is divided evenly.
Report errata or suggestions for
dataExpression.
Method Detail
onClick(inRowIndex, inCell, inEvent)
Fires when the user clicks the mouse in this cell.
- Parameters:
- {Number} inRowIndex
- The clicked row.
- {dojox.grid.cell} inCell
- Various fields describing the clicked cell.
- {wm.DataGrid.Event} inEvent
- The browser event object, decorated.
Report errata or suggestions for
onClick.