UserColumnMenuItem

Column Menu Item that is provided by User

TypeScript
export interface

Properties

PropertyDescription
disabledWhether menu item is disabled
hiddenWhether menu item is hidden
iconOptional icon to display
labelText to appear in the Menu Item
menuTypeType of Menu - always 'User'
onClickFunction invoked when the Menu Item is clicked
subMenuItemsArray of Menu Items, enabling limitless levels of menus

Property Details

disabled

Whether menu item is disabled

TypeScript
disabled?: boolean;
Property Value

boolean

hidden

Whether menu item is hidden

TypeScript
hidden?: boolean;
Property Value

boolean

icon

Optional icon to display

TypeScript
icon?: AdaptableIcon;
Property Value

AdaptableIcon

label

Text to appear in the Menu Item

TypeScript
label: string;
Property Value

string

Type of Menu - always 'User'

TypeScript
menuType: 'User';
Property Value

'User'

onClick

Function invoked when the Menu Item is clicked

TypeScript
onClick?: (menuContext: ColumnMenuContext) => void;
Property Value

(menuContext:ColumnMenuContext) => void

Array of Menu Items, enabling limitless levels of menus

TypeScript
subMenuItems?: CustomColumnMenuItem[];
Property Value

CustomColumnMenuItem[]