grid-tabulator.textformatter
Home > @genesislcap/grid-tabulator > textFormatter
textFormatter() function
Text formatter for customized display of values. Styled to match grid-pro text renderer.
Signature:
export declare function textFormatter<T = any>(cell: any, formatterParams?: TextFormatterParams<T>): string;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
cell |
any |
The cell component provided by Tabulator |
|
formatterParams |
(Optional) Text formatter parameters |
Returns:
string
Text content for the cell