TableFieldOptions🔗
Field options for each field within a table (e.g 10, "The String", 64.20, etc.)
Generally defines alignment, filtering capabilties, display options, etc.
Definition🔗
class TableFieldOptions:
"""
Field options for each field within a table (e.g 10, "The String", 64.20, etc.)
Generally defines alignment, filtering capabilties, display options, etc.
"""
width: typing.Optional[float]
min_width: typing.Optional[float]
align: common.FieldTextAlignment
# This field is deprecated in favor of using cellOptions
display_mode: typing.Optional[common.TableCellDisplayMode]
cell_options: typing.Optional[common.TableCellOptions]
# ?? default is missing or false ??
hidden: typing.Optional[bool]
inspect: bool
filterable: typing.Optional[bool]
# Hides any header for a column, useful for columns that show some static content or buttons.
hide_header: typing.Optional[bool]
Methods🔗
to_json🔗
Converts this object into a representation that can easily be encoded to JSON.
from_json🔗
Builds this object from a JSON-decoded dict.