grid-tabulator.selectformatterparams
Home > @genesislcap/grid-tabulator > SelectFormatterParams
SelectFormatterParams 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 select formatter
options: Array of options for the select
nullText: Text to display for null/undefined values
dataTestId: Data test ID for testing
prefix: The prefix to use for element classes, e.g., 'foundation', 'zero', 'rapid'. Defaults to 'foundation' if not specified.
onChange: Optional callback when the selection changes
Signature:
export interface SelectFormatterParams<T = any>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
((rowData: T) => string) | string |
(ALPHA) (Optional) | ||
|
string |
(ALPHA) (Optional) | ||
|
(value: string, rowData: T) => void |
(ALPHA) (Optional) | ||
|
SelectOption<T>[] |
(ALPHA) | ||
|
string |
(ALPHA) (Optional) |