120 import {DATATABLE_COLUMN_WIDTH_DEFAULT} from '@fuzdev/fuz_app/ui/datatable.js'; Default initial column width in pixels.
Types and constants for the Datatable component.
3 declarations
120 import {DATATABLE_COLUMN_WIDTH_DEFAULT} from '@fuzdev/fuz_app/ui/datatable.js'; Default initial column width in pixels.
50 import {DATATABLE_MIN_COLUMN_WIDTH} from '@fuzdev/fuz_app/ui/datatable.js'; Default minimum column width in pixels.
DatatableColumn<T> import type {DatatableColumn} from '@fuzdev/fuz_app/ui/datatable.js'; Column definition for a Datatable.
DatatableColumn<T = unknown>TunknownkeyRow data accessor key.
type string & (keyof T)
labelHeader label text.
type string
width?Initial column width in pixels.
type number
min_width?Minimum column width in pixels.
type number
format?Format a cell value for display. Falls back to format_value when absent.
type (value: T[keyof T], row: T): string
valueT[keyof T]rowTstring