Home > @activeviam/activeui-sdk > RowActionImplementationProperties
RowActionImplementationProperties interface
Renders a row action, displayed by default at the end of each row in a table widget.
Signature:
export interface RowActionImplementationProperties
Properties
Property | Type | Description |
---|---|---|
getIconKey | (a: { columnProps: TabularColumnProps; index: number; rowIndex: number; }) => string | The icon to use for the row action. |
getIconStyle | (a: { columnProps: TabularColumnProps; index: number; isDisabled: boolean; rowIndex: number; }) => CSSObject | The style to apply on the row action. |
getIconTitle | (a: { columnProps: TabularColumnProps; index: number; rowIndex: number; }) => TranslationPayload | null | undefined | |
isDisabled | (a: { columnProps: TabularColumnProps; index: number; rowIndex: number; }) => boolean | Whether the button should be disabled. |
onClick | (e: React.SyntheticEvent, a: { columnProps: TabularColumnProps; index: number; rowIndex: number; }) => void | The click handler for the row action. |
render | (index: number, rowIdx: number, columnProps: TabularColumnProps) => React.ReactElement<any> | null | undefined | Render the row action. The other properties will not be called if this one is defined. |