OPEN_GRID API - v1.3.1
    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
    
    idField: string

    각 행의 고유 id 필드명. / Field name holding each row's unique id.

    levelGap?: number

    레벨(세대) 간 세로 간격(px). 기본 52. / Vertical gap between levels in px. Default 52.

    52
    
    nodeHeight?: number

    노드 카드 높이(px). 기본 72. / Node card height in px. Default 72.

    72
    
    nodeWidth?: number

    노드 카드 너비(px). 기본 160. / Node card width in px. Default 160.

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

    노드 클릭 콜백 (id, 행데이터). / Node click callback (id, row data).

    parentIdField: string

    부모 id 를 담은 필드명(트리 구성 기준). / Field name holding the parent id (tree structure key).

    siblingGap?: number

    형제 노드 간 가로 간격(px). 기본 20. / Horizontal gap between siblings in px. Default 20.

    20