DataColumn2
DataColumn2
#
Bases: 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
.
fixed_width: ft.Number | None = None
#
Defines absolute width of the column in pixels (as opposed to relative size
used by default).
size: DataColumnSize | None = DataColumnSize.S
#
Column sizes are determined based on available width by distributing it to individual columns accounting for their relative sizes.