interface DualListSelectorTreeItemData {
    badgeProps?: any;
    checkProps?: any;
    children?: DualListSelectorTreeItemData[];
    className?: string;
    defaultExpanded?: boolean;
    hasBadge?: boolean;
    id: string;
    isChecked: boolean;
    isDisabled?: boolean;
    onOptionCheck?: ((event: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element> | ChangeEvent<HTMLInputElement>, isChecked: boolean, isChosen: boolean, itemData: DualListSelectorTreeItemData) => void);
    parentId?: string;
    text: string;
}

Properties

badgeProps?: any

Additional properties to pass to the option badge

checkProps?: any

Additional properties to pass to the option checkbox

Content rendered inside the dual list selector.

className?: string

Additional classes applied to the dual list selector.

defaultExpanded?: boolean

Flag indicating this option is expanded by default.

hasBadge?: boolean

Flag indicating this option has a badge

id: string

ID of the option

isChecked: boolean

Checked state of the option

isDisabled?: boolean

Flag indicating whether the component is disabled.

onOptionCheck?: ((event: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element> | ChangeEvent<HTMLInputElement>, isChecked: boolean, isChosen: boolean, itemData: DualListSelectorTreeItemData) => void)

Callback fired when an option is checked

parentId?: string

Parent id of an option

text: string

Text of the option