Skip to content

API Reference / @gtkx/components / index / Column

Type Alias: Column<T>

Column<T> = Omit<GtkColumnViewColumnProps, "factory" | "sorter" | "id" | "title"> & object

Defined in: types.d.ts:71

One column of a ColumnView, pairing Gtk.ColumnViewColumn props with a cell renderer.

Type Declaration

headerMenu?

optional headerMenu?: ReactNode

id

id: string

Stable identifier, also used to address the column through sorting props.

renderCell

renderCell: ItemRenderer<T>

sortable?

optional sortable?: boolean

Whether clicking the column header sorts by it.

title

title: string

Type Parameters

T

T = unknown

Released under the MPL-2.0 License.