View as Markdown

API reference: @salmonui/scheduler

SchedulerExcelExportOptionsinterface

import type { SchedulerExcelExportOptions } from '@salmonui/scheduler';
interface SchedulerExcelExportOptions<Row = unknown> extends SchedulerTableExportOptions<Row> {
    readonly sheetName?: string | undefined;
}
SchedulerExcelExportOptions members (8, 7 inherited)
NameSignatureDescription
sheetNameoptionalreadonly sheetName?: string | undefined;
fieldsoptionalinheritedfields?: readonly SchedulerExportField[];

Exported fields in order (fields / fieldsInfo). Default: every role whose property occurs in a row, then the resource fields.

headerTextsoptionalinheritedheaderTexts?: Readonly<Record<string, string>>;

Header text by role, mapped property or field. Default: the row property name.

includeOccurrencesoptionalinheritedincludeOccurrences?: boolean;

One row per occurrence of range (default the visible range) instead of one per stored row.

rangeoptionalinheritedrange?: { readonly start: Date; readonly end: Date; };
rowsoptionalinheritedrows?: readonly Row[];

Rows to export instead of the Scheduler's events (customData).

fileNameoptionalinheritedfileName?: string;

File name; the extension is added when missing. Default Schedule.

downloadoptionalinheriteddownload?: boolean;

False resolves to the file without downloading it. Default true.