DataRow2
DataRow2
#
Bases: DataRow
Extends DataRow
.
Adds row-level tap
events. There are also on_secondary_tap
and on_secondary_tap_down
,
which are not available in DataCell
s and can be useful in desktop settings to handle right-click actions.
decoration: ft.BoxDecoration | None = None
#
Decoration to be applied to the row.
Overrides divider_thickness
.
on_double_tap: ft.OptionalControlEventHandler[DataRow2] = None
#
Fires when the row is double-tapped.
Ignored if the tapped cell has a tap
handler.
on_secondary_tap: ft.OptionalControlEventHandler[DataRow2] = None
#
Fires when the row is right-clicked (secondary tap).
Ignored if the tapped cell has a tap
handler.
on_secondary_tap_down: ft.OptionalControlEventHandler[DataRow2] = None
#
Fires when the row is right-clicked (secondary tap down).
Ignored if the tapped cell has a tap
handler.
on_tap: ft.OptionalEventHandler[ft.TapEvent[DataRow2]] = None
#
Fires when the row is tapped.
Ignored if the tapped cell has a tap
handler.
specific_row_height: ft.Number | None = None
#
Specific row height.
Falls back to data_row_height
if not set.