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

    Function useSpreadSheetActionCellHandler

    • SpreadSheet アクションセルハンドラ composable

      Parameters

      • deps: ActionCellHandlerDeps

      Returns {
          applyReferenceSelection: (
              context: {
                  dataView: ActionCellDataView;
                  grid: SlickGrid;
                  onDirty: () => void;
                  selectionList: { name: string; oid: string; version?: number }[];
                  target: ReferenceSelectTarget;
              },
          ) => void;
          executeActionCellClear: (
              context: {
                  dataView: ActionCellDataView;
                  field: string;
                  grid: SlickGrid;
                  onDirty: () => void;
                  rowIndex: number;
              },
          ) => void;
          executeBinaryUpload: (
              context: {
                  dataView: ActionCellDataView;
                  field: string;
                  grid: SlickGrid;
                  onDirty: () => void;
                  rowIndex: number;
              },
          ) => void;
          extractReferenceEntityKey: (
              value: unknown,
          ) => null | { oid: string; version: number };
          extractReferenceViewKey: (
              editor: undefined | null | SpreadSheetEditor,
          ) => null | ReferenceViewKeyInfo;
      }

      • applyReferenceSelection: (
            context: {
                dataView: ActionCellDataView;
                grid: SlickGrid;
                onDirty: () => void;
                selectionList: { name: string; oid: string; version?: number }[];
                target: ReferenceSelectTarget;
            },
        ) => void
      • executeActionCellClear: (
            context: {
                dataView: ActionCellDataView;
                field: string;
                grid: SlickGrid;
                onDirty: () => void;
                rowIndex: number;
            },
        ) => void
      • executeBinaryUpload: (
            context: {
                dataView: ActionCellDataView;
                field: string;
                grid: SlickGrid;
                onDirty: () => void;
                rowIndex: number;
            },
        ) => void
      • extractReferenceEntityKey: (value: unknown) => null | { oid: string; version: number }
      • extractReferenceViewKey: (editor: undefined | null | SpreadSheetEditor) => null | ReferenceViewKeyInfo