NoxGrid Web API
    Preparing search index...

    Class Column

    Column.

    Index
    backColor?: string
    bold: boolean
    buttonText?: string
    clickable:
        | boolean
        | ((row: Record<string, unknown> | undefined, rowIndex: number) => boolean)

    Clickable cells (see ColumnOptions.clickable).

    emptyText?: string

    Text for empty cells (see ColumnOptions.emptyText).

    field?: string
    fillWeight: number

    Share of the spare width (see ColumnOptions.fillWeight).

    filterable: boolean
    footerFormat?: string
    footerText:
        | string
        | ((ctx: { rowCount: number; visibleRowCount: number }) => string)
    foreColor?: string
    format?: string
    group: string[]

    Group header levels from the top (multi-row headers).

    header: string
    headerCheckBox: boolean

    Header check box (see ColumnOptions.headerCheckBox).

    headerToolTip?: string | ((col: number) => string | undefined)

    Header tooltip (see ColumnOptions.headerToolTip).

    id: number = ...

    Internal unique ID (key for cell data).

    images?: Record<string, string | HTMLImageElement>
    items: ComboItem[]
    maximum?: number
    maxLength?: number
    mergeMode: MergeMode
    minimum?: number
    minWidth: number
    name: string
    pattern?: string
    readOnly: boolean
    required: boolean
    resizable: boolean
    sortable: boolean
    sortCompare?: (a: CellValue, b: CellValue, rowA: number, rowB: number) => number

    Custom sort comparison (see ColumnOptions.sortCompare).

    sortValue?: (
        row: Record<string, unknown> | undefined,
        rowIndex: number,
    ) => CellValue

    Value to sort by (see ColumnOptions.sortValue).

    tag?: unknown
    toolTip?: (
        row: Record<string, unknown> | undefined,
        rowIndex: number,
    ) => string | undefined

    Tooltip (see ColumnOptions.toolTip).

    validationMessage?: string
    valueList?: CellValue[]
    verticalAlignment: VerticalAlignment
    visible: boolean
    width: number
    wrapText: boolean
    • Converts input text to a value of the column's kind. undefined if it cannot be converted.

      Parameters

      • text: string

      Returns CellValue