DataColumn2
Inherits: DataColumn
Extends flet.DataColumn
,
adding the ability to set relative column size and fixed column width.
Meant to be used as an item of DataTable2.columns
.
Properties
-
fixed_width
(Number | None
) –Defines absolute width of the column in pixels
-
size
(DataColumnSize | None
) –Column sizes are determined based on available width by distributing
Properties#
fixed_width
#
fixed_width: Number | None = None
Defines absolute width of the column in pixels
(as opposed to relative size
used by default).
size
#
size: DataColumnSize | None = S
Column sizes are determined based on available width by distributing it to individual columns accounting for their relative sizes.