grid-tabulator.actionsmenuformatterparams
Home > @genesislcap/grid-tabulator > ActionsMenuFormatterParams
ActionsMenuFormatterParams 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 actions menu formatter
actions: The array of actions to display in the menu.
prefix: The prefix to use for the actions-menu element, e.g., 'foundation', 'zero', 'rapid'.
menuName: Custom name for the menu button (if not set, will use foundation: '⋮' or other: '+')
isVertical: Optional flag to display the menu vertically. Default is false.
buttonAppearance: Optional appearance for the button that opens the menu.
dataTestId: Data test ID for testing
Signature:
export interface ActionsMenuFormatterParams<T = any>
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
Array<{ name: string; callback: (rowData: T) => void; isDisabled?: (rowData: T) => boolean; }> |
(ALPHA) (Optional) | ||
|
string |
(ALPHA) (Optional) | ||
|
((rowData: T) => string) | string |
(ALPHA) (Optional) | ||
|
boolean |
(ALPHA) (Optional) | ||
|
string |
(ALPHA) (Optional) | ||
|
string |
(ALPHA) (Optional) |