Components
    • Animation
    • Barcodes
    • Buttons
    • Charts
    • Common Utilities
    • Conversational UI
    • Data Grid
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdowns
    • Editor
    • Excel Export
    • File Saver
    • Form
    • Gantt
    • Gauges
    • Indicators
    • Inputs
    • Labels
    • Layout
    • ListBox
    • ListView
    • Notification
    • PDF Processing
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Tooltips
    • TreeList
    • TreeView
    • Upload
    Sample Applications
    Styling & Themes
    Common Features
    Project Setup
    Changelog

SplitButtonProps

accessKey?

string

Specifies the accessKey of the main button.

buttonClass?

string

Sets the className of the main button.

className?

string

Sets the className of the SplitButton component.

dir?

string

Sets the direction of the component.

disabled?

boolean

Determines whether the component is disabled (see example).

fillMode?

null | "solid" | "outline" | "flat" | "link"

(default: solid) Configures the fillMode of the SplitButton.

The available options are:

  • solid
  • outline
  • flat
  • link
  • nullDoes not set a fillMode className.

icon?

string

Defines an icon that will be rendered next to the main button text (see example).

iconClass?

string

Defines an icon with a custom CSS class that will be rendered next to the main button text (see example).

imageUrl?

string

Defines the location of an image that will be displayed next to the main button text (see example).

item?

null | React.ComponentType<{ item: any; itemIndex: number; }>

A React functional or class component which is used for rendering items (see example). The default rendering includes an icon, an image, and text.

itemRender?

(li: ReactElement<HTMLLIElement>, props: ButtonItemProps) => React.ReactNode | React.ComponentType<{ item: any; itemIndex: number; }>

Fires when a dropdown list button item is about to be rendered. Use it to override the default appearance of the list items. if item prop is not declared, itemRender behaves like item, for backward compatibility with versions before 4.2.0

items?

any[]

Specifies the list items (see example).

onBlur?

(event: SplitButtonBlurEvent) => void

Fires when the component is blurred (see example).

onButtonClick?

(event: SplitButtonClickEvent) => void

Fires when the main button is clicked (see example).

onClose?

(event: SplitButtonCloseEvent) => void

Fires when the popup which contains the items is closed (see example).

onFocus?

(event: SplitButtonFocusEvent) => void

Fires when the component is focused (see example).

onItemClick?

(event: SplitButtonItemClickEvent) => void

Fires when an item is clicked (see example).

onOpen?

(event: SplitButtonOpenEvent) => void

Fires when the popup which contains the items is opened (see example).

opened?

boolean

Opens the popup of the SplitButton if set to true.

popupSettings?

ButtonsPopupSettings

Configures the popup (see example).

rounded?

null | "small" | "medium" | "large" | "full"

(default: medium) Configures the roundness of the SplitButton.

The available options are:

  • small
  • medium
  • large
  • full
  • nullDoes not set a rounded className.

size?

null | "small" | "medium" | "large"

(default: medium) Configures the size of the SplitButton.

The available options are:

  • small
  • medium
  • large
  • nullDoes not set a size className.

tabIndex?

number

Specifies the tabIndex of the main button.

text?

string

Specifies the text of the main button (see example).

textField?

string

Configures the field that will be used for the text of the items. textField has to be used together with the items prop (see example).

themeColor?

null | "base" | "primary" | "secondary" | "tertiary" | "info" | "success" | "warning" | "dark" | "light" | "inverse"

(default: base) Configures the themeColor of the SplitButton.

The available options are:

  • base
  • primary
  • secondary
  • tertiary
  • info
  • success
  • warning
  • dark
  • light
  • inverse
  • nullDoes not set a themeColor className.