OPEN_GRID API - v1.5.2
    Preparing search index...

    Interface OrgChartOptions

    조직도 생성 옵션.

    Org-chart construction options.

    組織図の生成オプション。

    组织架构图的生成选项。

    interface OrgChartOptions {
        columns: OrgChartColumnDef[];
        expandOnLoad?: boolean;
        idField: string;
        levelGap?: number;
        nodeHeight?: number;
        nodeWidth?: number;
        onNodeClick?: (id: any, data: Record<string, any>) => void;
        parentIdField: string;
        siblingGap?: number;
    }
    Index

    Properties

    노드 카드에 렌더할 컬럼 정의 배열.

    Column definitions rendered inside each node card.

    ノードカードにレンダリングする列定義の配列。

    在节点卡片中渲染的列定义数组。

    expandOnLoad?: boolean

    최초 로드 시 전체 펼침 여부. 기본 true.

    Whether to expand all on first load. Default true.

    初回ロード時に全体を展開するかどうか。既定は true。

    首次加载时是否展开全部。默认 true。

    true
    
    idField: string

    각 행의 고유 id 필드명.

    Field name holding each row's unique id.

    各行の一意な id を持つフィールド名。

    存放每行唯一 id 的字段名。

    levelGap?: number

    레벨(세대) 간 세로 간격(px). 기본 52.

    Vertical gap between levels in px. Default 52.

    レベル(世代)間の縦の間隔(px)。既定は 52。

    层级(代)之间的纵向间距(px)。默认 52。

    52
    
    nodeHeight?: number

    노드 카드 높이(px). 기본 72.

    Node card height in px. Default 72.

    ノードカードの高さ(px)。既定は 72。

    节点卡片高度(px)。默认 72。

    72
    
    nodeWidth?: number

    노드 카드 너비(px). 기본 160.

    Node card width in px. Default 160.

    ノードカードの幅(px)。既定は 160。

    节点卡片宽度(px)。默认 160。

    160
    
    onNodeClick?: (id: any, data: Record<string, any>) => void

    노드 클릭 콜백 (id, 행데이터).

    Node click callback (id, row data).

    ノードクリックのコールバック (id, 行データ)。

    节点点击回调 (id, 行数据)。

    parentIdField: string

    부모 id 를 담은 필드명(트리 구성 기준).

    Field name holding the parent id (tree structure key).

    親の id を持つフィールド名(ツリー構成の基準)。

    存放父级 id 的字段名(构建树的依据)。

    siblingGap?: number

    형제 노드 간 가로 간격(px). 기본 20.

    Horizontal gap between siblings in px. Default 20.

    兄弟ノード間の横の間隔(px)。既定は 20。

    同级节点之间的横向间距(px)。默认 20。

    20