Constructor

@:value({ text : null, selected : false, opened : false, branch : false, layoutIndex : -1, columnIndex : -1, rowLocation : null, data : null })new(?data:Dynamic, ?rowLocation:Array<Int>, columnIndex:Int = -1, layoutIndex:Int = -1, branch:Bool = false, opened:Bool = false, selected:Bool = false, ?text:String)

Creates a new TreeGridViewCellState object with the given arguments.

Available since

1.0.0

.

Variables

@:value(false)branch:Bool = false

Returns whether the item is a branch or not.

Available since

1.0.0

.

column:TreeGridViewColumn

The column of the cell.

Available since

1.0.0

.

@:value(-1)columnIndex:Int = -1

The horizontal position of the cell within the TreeGridView.

Available since

1.0.0

.

data:Dynamic

An row from the collection displayed by the TreeGridView.

Available since

1.0.0

.

@:value(true)enabled:Bool = true

Returns whether the item is enabled or not.

Available since

1.0.0

.

See also:

@:value(-1)layoutIndex:Int = -1

Returns the location of the item in the TreeGridView layout.

Available since

1.0.0

.

@:value(false)opened:Bool = false

Returns whether the branch is opened or closed. If the item is a leaf, the value will always be false.

Available since

1.0.0

.

owner:TreeGridView

Returns a reference to the TreeGridView that contains this cell.

Available since

1.0.0

.

@:value(null)rowLocation:Array<Int> = null

The vertical position of the cell within the TreeGridView.

Available since

1.0.0

.

@:value(false)selected:Bool = false

Returns whether the cell is selected or not.

Available since

1.0.0

.

See also:

text:String

Returns the text to display for the cell, as returned by the function TreeGridViewColumn.itemToText.

Available since

1.0.0

.

See also: