Skip to main content

grid-tabulator.editableformatterparams

Home > @genesislcap/grid-tabulator > EditableFormatterParams

EditableFormatterParams interface​

This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Parameters for the editable formatter

value: The raw value to be displayed

data: The row data containing the current cell

field: The field name in the data object

cssClass: Optional CSS class to apply to the text

nullText: Text to display for null/undefined values

dataTestId: Data test ID for testing

icon: Icon to display for edit action

prefix: The prefix to use for element classes and components, e.g., 'foundation', 'zero', 'rapid'.

Signature:

export interface EditableFormatterParams<T = any> 

Properties​

Property

Modifiers

Type

Description

cssClass?

string

(ALPHA) (Optional)

data?

T

(ALPHA) (Optional)

dataTestId?

((rowData: T) => string) | string

(ALPHA) (Optional)

field?

string

(ALPHA) (Optional)

icon?

string

(ALPHA) (Optional)

nullText?

string

(ALPHA) (Optional)

prefix?

string

(ALPHA) (Optional)

value?

any

(ALPHA) (Optional)