型・APIリファレンス
    Preparing search index...

    Interface GridDataViewLike

    DataView の最小インターフェース(Grid 操作用)

    interface GridDataViewLike {
        beginUpdate: () => void;
        endUpdate: () => void;
        getItemByIdx: (index: number) => undefined | Record<string, unknown>;
        getItems: () => Record<string, unknown>[];
        refresh: () => void;
        setItems: (items: Record<string, unknown>[], idField?: string) => void;
        updateItem: (id: string, item: Record<string, unknown>) => void;
    }
    Index

    Properties

    beginUpdate: () => void

    更新の開始

    endUpdate: () => void

    更新の終了

    getItemByIdx: (index: number) => undefined | Record<string, unknown>

    インデックス位置のアイテムを取得する

    getItems: () => Record<string, unknown>[]

    データアイテム一覧を取得する

    refresh: () => void

    表示を更新する

    setItems: (items: Record<string, unknown>[], idField?: string) => void

    データアイテム一覧を設定する

    updateItem: (id: string, item: Record<string, unknown>) => void

    アイテムを更新する