Skip to content

WorkSheet

type WorkSheet = {
columns?: GridSize[];
defaults?: {
colWidth?: number;
rowHeight?: number;
};
getCellByCoords: (row: number, col: number) => Cell | null;
getComments?: (options: {
excludeReplies?: boolean;
excludeResolved?: boolean;
}) => ThreadedComment[];
getNotes?: () => Note[];
getSize: () => [number, number];
merged_cells: string[];
name: string;
nextValueCellByCoords: (row: number, col: number, dir: "left" | "right" | "up" | "down") => Cell | null;
rows?: GridSize[];
views?: WorksheetView[];
};
PropertyType
columns?GridSize[]
defaults?{ colWidth?: number; rowHeight?: number; }
defaults.colWidth?number
defaults.rowHeight?number
getCellByCoords(row: number, col: number) => Cell | null
getComments?(options: { excludeReplies?: boolean; excludeResolved?: boolean; }) => ThreadedComment[]
getNotes?() => Note[]
getSize() => [number, number]
merged_cellsstring[]
namestring
nextValueCellByCoords(row: number, col: number, dir: "left" | "right" | "up" | "down") => Cell | null
rows?GridSize[]
views?WorksheetView[]