DataTableTheme
Customizes the appearance of DataTable controls across the app.
Properties
checkbox_horizontal_margin- Overrides the default value for flet.DataTable.checkbox_horizontal_margin.column_spacing- Overrides the default value for flet.DataTable.column_spacing.data_row_color- Overrides the default value for flet.DataTable.data_row_color.data_row_cursor- Overrides the default value for DataRow mouse cursor.data_row_max_height- Overrides the default value for flet.DataTable.data_row_max_height.data_row_min_height- Overrides the default value for flet.DataTable.data_row_min_height.data_text_style- Overrides the default value for flet.DataTable.data_text_style.decoration- Overrides the default value for DataTable decoration.divider_thickness- Overrides the default value for flet.DataTable.divider_thickness.heading_cell_cursor- Overrides the default value for DataColumn mouse cursor.heading_row_alignment- Overrides the default value for flet.DataColumn.heading_row_alignment.heading_row_color- Overrides the default value for flet.DataTable.heading_row_color.heading_row_height- Overrides the default value for flet.DataTable.heading_row_height.heading_text_style- Overrides the default value for flet.DataTable.heading_text_style.horizontal_margin- Overrides the default value for flet.DataTable.horizontal_margin.
Properties
checkbox_horizontal_marginclass-attributeinstance-attribute
checkbox_horizontal_margin: Optional[Number] = NoneOverrides the default value for flet.DataTable.checkbox_horizontal_margin.
column_spacingclass-attributeinstance-attribute
column_spacing: Optional[Number] = NoneOverrides the default value for flet.DataTable.column_spacing.
data_row_colorclass-attributeinstance-attribute
data_row_color: Optional[ControlStateValue[ColorValue]] = NoneOverrides the default value for flet.DataTable.data_row_color.
data_row_cursorclass-attributeinstance-attribute
data_row_cursor: Optional[ControlStateValue[MouseCursor]] = NoneOverrides the default value for DataRow mouse cursor.
data_row_max_heightclass-attributeinstance-attribute
data_row_max_height: Optional[Number] = NoneOverrides the default value for flet.DataTable.data_row_max_height.
data_row_min_heightclass-attributeinstance-attribute
data_row_min_height: Optional[Number] = NoneOverrides the default value for flet.DataTable.data_row_min_height.
data_text_styleclass-attributeinstance-attribute
data_text_style: Optional[TextStyle] = NoneOverrides the default value for flet.DataTable.data_text_style.
decorationclass-attributeinstance-attribute
decoration: Optional[BoxDecoration] = NoneOverrides the default value for DataTable decoration.
divider_thicknessclass-attributeinstance-attribute
divider_thickness: Optional[Number] = NoneOverrides the default value for flet.DataTable.divider_thickness.
heading_cell_cursorclass-attributeinstance-attribute
heading_cell_cursor: Optional[ControlStateValue[MouseCursor]] = NoneOverrides the default value for DataColumn mouse cursor.
heading_row_alignmentclass-attributeinstance-attribute
heading_row_alignment: Optional[MainAxisAlignment] = NoneOverrides the default value for flet.DataColumn.heading_row_alignment.
heading_row_colorclass-attributeinstance-attribute
heading_row_color: Optional[ControlStateValue[ColorValue]] = NoneOverrides the default value for flet.DataTable.heading_row_color.
heading_row_heightclass-attributeinstance-attribute
heading_row_height: Optional[Number] = NoneOverrides the default value for flet.DataTable.heading_row_height.
heading_text_styleclass-attributeinstance-attribute
heading_text_style: Optional[TextStyle] = NoneOverrides the default value for flet.DataTable.heading_text_style.
horizontal_marginclass-attributeinstance-attribute
horizontal_margin: Optional[Number] = NoneOverrides the default value for flet.DataTable.horizontal_margin.