Positions cell or header renderers in a GridView or TreeGridView component.

Events:

openfl.events.Event.CHANGE

Dispatched when a property of the layout changes, which triggers the container to invalidate.

Available since

1.0.0

.

See also:

Constructor

new()

Creates a new GridViewRowLayout object.

Available since

1.0.0

.

Variables

columns:IFlatCollection<IGridViewColumn>

The collection of columns displayed by the GridView.

This special property must be set by the GridView, and it should not be modified externally.

Available since

1.0.0

.

customColumnWidths:Array<Float>

The custom column widths used by the GridView.

This special property must be set by the GridView, and it should not be modified externally.

Available since

1.0.0

.

paddingLeft:Float

The space, in pixels, between the row's left edge and its content.

This special property must be set by the GridView, and it should not be modified externally.

Available since

1.0.0

.

paddingRight:Float

The space, in pixels, between the row's right edge and its content.

This special property must be set by the GridView, and it should not be modified externally.

Available since

1.0.0

.

Methods

layout(items:Array<DisplayObject>, measurements:Measurements, ?result:LayoutBoundsResult):LayoutBoundsResult

setPadding(value:Float):Void

Sets all padding properties to the same value.

Available since

1.0.0

.

See also: