New to KendoReactStart a free 30-day trial

OrgChartProps

Interface

Represents the props of the KendoReact OrgChart component.

Definition

Package:@progress/kendo-react-orgchart

Properties

Sets custom aria-label to the OrgChart. The default value is "Org Chart"

Sets the field which provides an avatar representation for the item.

Default:

"avatar"

Sets the type of the Avatar that renders for the OrgChart item.

Default:

"image"

Sets the height of the card of the OrgChart.

cardsColors?

string[]

Sets a string array with the colors for the items. By default the colors come from the current Kendo Theme.

Sets the width of the card of the OrgChart.

Sets the name of the field which provides an array representation of the item children.

Sets additional classes to the OrgChart.

data?

any[]

Sets the data of the OrgChart.

Sets the name of the field which provides a Boolean representation for the expanded state of the item.

Default:

"expanded"

Sets the field by which the OrgChart data is grouped.

Sets the height of the subtitle of the grouped OrgChart.

groupSubtitleRender?

ComponentType​<OrgChartGroupSubtitleProps>

Sets the component that renders each of the grouped OrgChart subtitle.

Sets the height of the title of the grouped OrgChart.

groupTitleRender?

ComponentType​<OrgChartGroupTitleProps>

Sets the component that renders each of the grouped OrgChart title.

Sets the name of the field which indicates to the OrgChart that an item has children even if the children are not initially passed. Used for implementing the load-on-demand feature.

Default:

undefined

height?

string | number

Sets the height of the OrgChart.

id?

string

Sets custom id to the OrgChart.

idField?

string

Sets the name of the field which provides an id for the item.

Default:

"id"

Sets the component that renders each of the OrgChart items.

Sets if the OrgChart can be navigated with the keyboard.

Default:

true

Fires when a node or group is expanded.

Parameters:evOrgChartExpandChangeEvent

Triggers the group action event.

Parameters:evOrgChartActionEvent

Triggers the item action event.

Parameters:evOrgChartActionEvent

Triggers the item context menu action event.

Parameters:evOrgChartActionEvent

Triggers the item double-click action event.

Parameters:evOrgChartActionEvent

Sets if the Avatar inside the OrgChart's cards is displayed.

Default:

true

style?

CSSProperties

Sets additional CSS styles to the OrgChart.

Sets the name of the field which provides a subtitle representation for the item.

Default:

"subtitle"

Sets the name of the field which provides a title representation for the item.

Default:

"text"

Sets the height of the vertical line of the OrgChart.