One column of a UIDataGrid: a title, a base (unscaled) width, cell alignment, and whether the header sorts by it (numerically when numeric).

Constructor

@:value({ numeric : false, sortable : true, align : START })new(title:String, width:Float, align:UIAlign = START, sortable:Bool = true, numeric:Bool = false)

Parameters:

title

the header title

width

base (unscaled) column width

align

cell alignment (default START)

sortable

whether the header sorts by this column (default true)

numeric

sort as numbers rather than text (default false)

Variables

align:UIAlign

Cell text alignment.

numeric:Bool

Sort this column as numbers rather than text.

sortable:Bool

Whether clicking the header sorts by this column.

title:String

The header title.

width:Float

Base (unscaled) column width.