Fdc3AdaptableButton

Button used in FDC3 Action Columns

TypeScript
export interface

Properties

PropertyDescription
buttonStyleButton's Style; can be object or function that provides ButtonStyle object
disabledFunction to disable / enable button based on evaluation result
hiddenFunction to hide the Button
iconButton's Icon; can be object or function that provides AdaptableIcon object
idUnique id for the button
labelButton's Label; can be string or function that provides string
tooltipButton's Tooltip; can be string or function that provides string

Property Details

buttonStyle

Button's Style; can be object or function that provides ButtonStyle object

TypeScript
buttonStyle?: ButtonStyle | ((button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => ButtonStyle);
Property Value

ButtonStyle| ((button:Fdc3AdaptableButton, context:Fdc3ButtonContext) =>ButtonStyle)

disabled

Function to disable / enable button based on evaluation result

TypeScript
disabled?: (button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => boolean;
Property Value

(button:Fdc3AdaptableButton, context:Fdc3ButtonContext) => boolean

hidden

Function to hide the Button

TypeScript
hidden?: (button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => boolean;
Property Value

(button:Fdc3AdaptableButton, context:Fdc3ButtonContext) => boolean

icon

Button's Icon; can be object or function that provides AdaptableIcon object

TypeScript
icon?: '_defaultFdc3' | AdaptableIcon | ((button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => AdaptableIcon);
Property Value

'_defaultFdc3' |AdaptableIcon| ((button:Fdc3AdaptableButton, context:Fdc3ButtonContext) =>AdaptableIcon)

id

Unique id for the button

TypeScript
id: string;
Property Value

string

label

Button's Label; can be string or function that provides string

TypeScript
label?: '_defaultFdc3' | string | ((button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => string);
Property Value

'_defaultFdc3' | string | ((button:Fdc3AdaptableButton, context:Fdc3ButtonContext) => string)

tooltip

Button's Tooltip; can be string or function that provides string

TypeScript
tooltip?: '_defaultFdc3' | string | ((button: Fdc3AdaptableButton, context: Fdc3ButtonContext) => string);
Property Value

'_defaultFdc3' | string | ((button:Fdc3AdaptableButton, context:Fdc3ButtonContext) => string)