Documentation

@kanunilabs/datagrid-react


@kanunilabs/datagrid-react / numberTextFormat

Function: numberTextFormat()

numberTextFormat(def): ResolvedNumberFormat | undefined

The column's numberFormat when its editor is the number TEXT box — not for a lookup, a custom editor or a formula column, which own their value.

Parameters

def

{ allowFormulas?: boolean; lookup?: unknown; numberFormat?: ColumnNumberFormat; renderEditor?: unknown; } | undefined

Returns

ResolvedNumberFormat | undefined