API Reference / @gtkx/components / ColumnViewColumn
Type Alias: ColumnViewColumn<T>
ColumnViewColumn<
T> =Omit<GtkColumnViewColumnProps,"factory"|"sorter"|"id"|"title"> &object
Defined in: packages/components/src/types.ts:197
One column of a ColumnView, pairing Gtk.ColumnViewColumn props with a cell renderer.
Type Parameters
T
T = unknown
Type Declaration
hasExpander?
optionalhasExpander?:boolean
Draws the tree expander and depth indentation in this column. Without a visible column marked this way, the first visible column draws them.
headerMenu?
optionalheaderMenu?:ReactNode
Menu element popped up as the column header's context menu, on a right-click.
id
id:
string
Stable identifier, also used to address the column through sorting props.
isSortable?
optionalisSortable?:boolean
Makes the column header clickable, reporting the choice through onSortChanged.
renderCell
renderCell:
ListItemRenderer<T>
Renders the contents of this column's cell for one item.
title
title:
string
Text shown in the column header.