rx-datatable API
    Preparing search index...

    Interface TreeItemProps<T, K, ItemProps>

    Props passed to renderers (TreeListProps<...>.renderItem and RenderItem).

    interface TreeItemProps<T, K = T, ItemProps = Styles> {
        expandedParents: ISet<K>;
        isExpanded: boolean;
        isSelected: boolean | null;
        item: TreeItem;
        itemProps?: ItemProps;
        parentProps: TreeListCoreProps<T, K, ItemProps>;
        reactKey: string | number;
        readOnly: boolean;
        renderItem: (
            item: TreeItem,
            props: ListItemProps<TreeItem<T, T>, K, ItemProps>,
        ) => ReactNode;
        selKey: K;
        tempState: {
            selectedParents?: Pick<ISet<TreeItem<T, T>>, "add" | "delete" | "has">;
        };
        onClick(
            this: ModifiedListItemProps<T, K, ItemProps>,
            item: TreeItem,
            event: MouseEvent<HTMLDivElement>,
        ): void;
        renderTreeIndent(this: ModifiedTreeItemProps<T, K, ItemProps>): ReactNode;
        toggleExpanded(this: ModifiedTreeItemProps<T, K, ItemProps>): void;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index
    expandedParents: ISet<K>

    The set of nodes that are currently expanded. If provided, this should be a MobX observable.set rather than a plain Set.

    isExpanded: boolean

    Whether expandedParents includes selKey

    isSelected: boolean | null

    Whether this item is selected. The special value null indicates that the selection box above a list or dropdown list is being rendered.

    item: TreeItem

    An item to be rendered

    itemProps?: ItemProps

    Item properties from ListCoreProps.itemProps

    parentProps: TreeListCoreProps<T, K, ItemProps>

    Props that were passed to the parent TreeListCore or DataTableCore

    reactKey: string | number

    The React key for this item (from ListCoreProps.getKey()). (React doesn't allow it to be called key.)

    readOnly: boolean

    This is true if the entire list should be rendered as read-only

    renderItem: (
        item: TreeItem,
        props: ListItemProps<TreeItem<T, T>, K, ItemProps>,
    ) => ReactNode

    Item renderer provided to ListCoreProps, if any

    selKey: K

    The "sel key" for this item (from ListCoreProps.getSelKey())

    tempState: {
        selectedParents?: Pick<ISet<TreeItem<T, T>>, "add" | "delete" | "has">;
    }

    Used by TreeList and DataTable