Packagetwaver.controls
Classpublic class TableColumn
InheritanceTableColumn Inheritance mx.controls.dataGridClasses.DataGridColumn

This class defines a column for TWaver Flex table component. This extends from 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";
	 }
	 }
	 



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
TableColumn(columnName:String = null)
Constructor of this talbe column.
TableColumn
  
itemToLabel(data:Object):String
[override]
TableColumn
Property Detail
clientproperty
client:String  [write-only]

Set the client property value for the carring client property.


Implementation
    public function set client(value:String):void
styleproperty 
style:String  [write-only]

Set the style value for the carring style property.


Implementation
    public function set style(value:String):void
Constructor Detail
TableColumn()Constructor
public function TableColumn(columnName:String = null)

Constructor of this talbe column.

Parameters
columnName:String (default = null) — column name.
Method Detail
itemToLabel()method
override public function itemToLabel(data:Object):String

Parameters

data:Object

Returns
String