Skip to main content

grid-tabulator.selectformatter

Home > @genesislcap/grid-tabulator > selectFormatter

selectFormatter() function​

Formatter that displays a select component with options. Returns a wrapped div containing the select, similar to boolean.formatter.

Signature:

export declare function selectFormatter<T = any>(cell: any, formatterParams: SelectFormatterParams<T>): string;

Parameters​

Parameter

Type

Description

cell

any

The cell component provided by Tabulator

formatterParams

SelectFormatterParams<T>

Select formatter parameters

Returns:

string

An empty string, as the component is added directly to the cell element