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

    Function useSpreadSheetActionCellHandler

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

      Parameters

      • deps: ActionCellHandlerDeps

      Returns {
          applyReferenceSelection: (
              context: {
                  dataView: ActionCellDataView;
                  grid: SlickGrid;
                  onDirty: () => void;
                  selectionList: ReferenceSelectionValue[];
                  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,
          ) => { oid: string; version: number } | null;
          extractReferenceViewKey: (
              editor: SpreadSheetEditor | null | undefined,
          ) => ReferenceViewKeyInfo | null;
      }

      • applyReferenceSelection: (
            context: {
                dataView: ActionCellDataView;
                grid: SlickGrid;
                onDirty: () => void;
                selectionList: ReferenceSelectionValue[];
                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) => { oid: string; version: number } | null
      • extractReferenceViewKey: (editor: SpreadSheetEditor | null | undefined) => ReferenceViewKeyInfo | null