Skip to main content

grid-tabulator.actionformatter

Home > @genesislcap/grid-tabulator > actionFormatter

actionFormatter() function​

Formatter that displays an action button in the cell. Styled to match grid-pro action renderer.

Signature:

export declare function actionFormatter<T = any>(cell: any, formatterParams?: ActionFormatterParams<T>): string;

Parameters​

Parameter

Type

Description

cell

any

The cell component provided by Tabulator

formatterParams

ActionFormatterParams<T>

(Optional) Action formatter parameters

Returns:

string

HTML content for the action button