CommandItemProps

Defines the properties for configuring individual command items (buttons) in a command column. Specifies command item type, styling, and rendering options for action buttons in grid rows. Used to customize command buttons like Edit, Delete, Save, and Cancel for CRUD operations.

Props

The following table outlines the props for the CommandItemProps:

NameTypeDefaultDescription
buttonProps
React.ComponentProps<typeof Button>
undefined

Provides custom properties to the Syncfusion Button component rendered as a command item. Allows customization of button appearance, styling, and behavior through standard Button component props.

children
node
undefined

Allows rendering custom child elements (ReactNode) instead of built-in command buttons. Enables complete customization of command cell content with custom components or HTML elements.

type
undefined

Specifies the type of command button. Supported types are Edit, Delete, Update, and Cancel. If no type is defined in the command column directive, the item is treated as a custom command button container, allowing you to render and return a custom component instead of the default button.