Skip to main content

Type Alias: ColumnViewRootProps<C>

ColumnViewRootProps<C> = object

Defined in: jsx.ts:148

Props for the root ColumnView component.

Type Parameters

Type ParameterDefault typeDescription
C extends stringstringString literal type for column IDs

Properties

estimatedRowHeight?

optional estimatedRowHeight: number

Defined in: jsx.ts:156

Estimated row height in pixels for proper virtualization before content loads


onSortChanged()?

optional onSortChanged: (column, order) => void

Defined in: jsx.ts:154

Callback when sort changes

Parameters

ParameterType
columnC | null
orderGtk.SortType

Returns

void


sortColumn?

optional sortColumn: C | null

Defined in: jsx.ts:150

Currently sorted column ID, or null for no sorting


sortOrder?

optional sortOrder: Gtk.SortType

Defined in: jsx.ts:152

Sort direction (ascending or descending)