@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) • 838 B
TypeScript
import { Context } from "../context";
import { Cell, SingleRange } from "../types";
import { CommonOptions } from "./common";
export declare function getCellValue(ctx: Context, row: number, column: number, options?: CommonOptions & {
type?: keyof Cell;
}): any;
export declare function setCellValue(ctx: Context, row: number, column: number, value: any, cellInput: HTMLDivElement | null, options?: CommonOptions): void;
export declare function clearCell(ctx: Context, row: number, column: number, options?: CommonOptions): void;
export declare function setCellFormat(ctx: Context, row: number, column: number, attr: keyof Cell, value: any, options?: CommonOptions): void;
export declare function autoFillCell(ctx: Context, copyRange: SingleRange, applyRange: SingleRange, direction: "up" | "down" | "left" | "right"): void;