Column
Column
Section titled “Column”moderatorim.ui.Column
Section titled “moderatorim.ui.Column”Column(*, key, label='', kind='text', sortable=True, custom=None)One table column. key is the row-dict key; label is the header text.
kind drives cell rendering: "text" (default, escaped), "bool" (a check/close icon),
"ref" (the caller pre-resolves the id→label in the DataRow cell). sortable renders the
header as a sort link. custom is the escape hatch: a (row) -> cell content callback,
invoked with the raw row dict; a custom column is neither sortable nor filterable.
Attributes:
custom() –Callable``[[dict``[str,Any]],Any] | Noneheader() –strkey() –strkind() –strlabel() –strsortable() –bool
moderatorim.ui.Column.custom
Section titled “moderatorim.ui.Column.custom”custom: Callable[[dict[str, Any]], Any] | None = Nonemoderatorim.ui.Column.header
Section titled “moderatorim.ui.Column.header”header: strmoderatorim.ui.Column.key
Section titled “moderatorim.ui.Column.key”key: strmoderatorim.ui.Column.kind
Section titled “moderatorim.ui.Column.kind”kind: str = 'text'moderatorim.ui.Column.label
Section titled “moderatorim.ui.Column.label”label: str = ''moderatorim.ui.Column.sortable
Section titled “moderatorim.ui.Column.sortable”sortable: bool = True