@fortune-sheet/core
Version:
FortuneSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
11 lines (10 loc) • 616 B
TypeScript
import { getSheet } from "./common";
import { Context } from "../context";
import { CellMatrix, Sheet } from "../types";
export declare function getAllSheets(ctx: Context): Sheet[];
export { getSheet };
export declare function initSheetData(draftCtx: Context, index: number, newData: Sheet): CellMatrix | null;
export declare function hideSheet(ctx: Context, sheetId: string): void;
export declare function showSheet(ctx: Context, sheetId: string): void;
export declare function copySheet(ctx: Context, sheetId: string): void;
export declare function calculateSheetFromula(ctx: Context, id: string): void;