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

    Interface FilterSelectColumn

    캐스케이딩 필터 셀렉트 컬럼 정의.

    Cascading filter-select column definition.

    カスケーディングフィルターセレクトの列定義。

    级联筛选选择的列定义。

    A. JSON 배열 바인딩 (권장)

    {
    field: 'brand',
    label: '브랜드',
    data: brandList, // any[] ← JSON 배열
    valueKey: 'brandCode', // 필터·선택값으로 사용할 키
    textKey: 'brandName', // 화면에 표시할 텍스트 키
    filterKey: 'brand', // 그리드 행 데이터의 필터 기준 키 (기본: field)
    dependsOn: 'category', // 부모 컬럼 field
    dependsOnKey: 'catCode', // 자식 data[]에서 부모값과 매칭할 키
    }

    B. 정적 옵션 배열

    { field: 'status', options: [{ value: 'Y', text: '활성' }] }
    
    interface FilterSelectColumn {
        data?: any[];
        dependsOn?: string;
        dependsOnKey?: string;
        field: string;
        filterKey?: string;
        label: string;
        options?: FilterSelectOption[];
        textKey?: string;
        valueKey?: string;
    }
    Index

    Properties

    data?: any[]

    바인딩할 JSON 배열.

    JSON array to bind.

    バインドする JSON 配列。

    待绑定的 JSON 数组。

    dependsOn?: string

    부모 컬럼의 field 명.

    Parent column's field name.

    親列の field 名。

    父列的 field 名。

    dependsOnKey?: string

    자식 data[] 에서 부모 선택값과 비교할 키.

    Key in the child data[] compared against the parent's selected value.

    子の data[] で親の選択値と比較するキー。

    子 data[] 中与父级选中值比较的键。

    // brandList.filter(b => b.catCode === parentSelectedValue)
    dependsOnKey: 'catCode'
    field: string

    캐스케이딩 식별자 / 기본 필터 키.

    Cascading identifier / default filter key.

    カスケーディング識別子 / デフォルトのフィルターキー。

    级联标识符 / 默认筛选键。

    filterKey?: string

    그리드 행 데이터에서 실제 필터링할 키. 미지정 시 field 값 그대로 사용.

    Key actually filtered against grid row data; falls back to field.

    グリッドの行データで実際にフィルタリングするキー。未指定の場合は field の値をそのまま使用します。

    在表格行数据中实际用于筛选的键。未指定时直接使用 field 的值。

    // filter where row.category === selectedValue
    filterKey: 'category'
    label: string

    화면 표시 라벨.

    Display label.

    画面表示ラベル。

    界面显示标签。

    options?: FilterSelectOption[]

    정적 옵션 배열(data 대신 사용).

    Static option array (used instead of data).

    静的オプション配列(data の代わりに使用)。

    静态选项数组(代替 data 使用)。

    textKey?: string

    data[] 에서 화면 표시 text 로 사용할 키(미지정 시 valueKey 사용).

    Key in data[] used as display text (falls back to valueKey).

    data[] で画面表示 text として使用するキー(未指定の場合は valueKey を使用)。

    data[] 中用作界面显示 text 的键(未指定时使用 valueKey)。

    valueKey?: string

    data[] 에서 option value 로 사용할 키.

    Key in data[] used as the option value.

    data[] で option value として使用するキー。

    data[] 中用作 option value 的键。