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

    dependsOn?: string

    부모 컬럼의 field 명. / Parent column's field name.

    dependsOnKey?: string

    자식 data[] 에서 부모 선택값과 비교할 키. / Key in the child data[] compared against the parent's selected value.

    // 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.

    // 그리드 row.category === selectedValue 로 필터링 / filter where row.category === selectedValue
    filterKey: 'category'
    label: string

    화면 표시 라벨. / Display label.

    options?: FilterSelectOption[]

    정적 옵션 배열(data 대신 사용). / Static option array (used instead of data).

    textKey?: string

    data[] 에서 화면 표시 text 로 사용할 키(미지정 시 valueKey 사용). / Key in data[] used as display text (falls back to valueKey).

    valueKey?: string

    data[] 에서 option value 로 사용할 키. / Key in data[] used as the option value.