Package | twaver.controls |
Class | public class TableColumn |
Inheritance | TableColumn ![]() |
DataGridColumn
and add client
property support.
This example defines a color column used to display color values:
public class ColorColumn extends TableColumn { public function ColorColumn(columnName:String=null) { super(columnName); this.itemRenderer = new ClassFactory(ColorRenderer); this.itemEditor = new ClassFactory(ColorEditor); this.editorDataField = "color"; } }
Property | Defined By | ||
---|---|---|---|
client : String [write-only]
Set the client property value for the carring
client property. | TableColumn | ||
style : String [write-only]
Set the style value for the carring style property. | TableColumn |
Method | Defined By | ||
---|---|---|---|
TableColumn(columnName:String = null)
Constructor of this talbe column. | TableColumn | ||
itemToLabel(data:Object):String [override]
| TableColumn |
client | property |
client:String
[write-only] Set the client property value for the carring client property.
public function set client(value:String):void
style | property |
style:String
[write-only] Set the style value for the carring style property.
public function set style(value:String):void
TableColumn | () | Constructor |
public function TableColumn(columnName:String = null)
Constructor of this talbe column.
ParameterscolumnName:String (default = null ) — column name.
|
itemToLabel | () | method |
override public function itemToLabel(data:Object):String
Parameters
data:Object |
String |