API reference: @salmonui/scheduler
SchedulerTableExportOptionsinterface
import type { SchedulerTableExportOptions } from '@salmonui/scheduler';interface SchedulerTableExportOptions<Row = unknown> {
readonly fields?: readonly SchedulerExportField[] | undefined;
readonly headerTexts?: Readonly<Record<string, string>> | undefined;
readonly includeOccurrences?: boolean | undefined;
readonly range?: {
readonly start: Date;
readonly end: Date;
} | undefined;
readonly rows?: readonly Row[] | undefined;
readonly fileName?: string | undefined;
readonly download?: boolean | undefined;
}
| Name | Signature | Description |
|---|---|---|
fieldsoptional | readonly fields?: readonly SchedulerExportField[] | undefined; | Exported fields in order ( |
headerTextsoptional | readonly headerTexts?: Readonly<Record<string, string>> | undefined; | Header text by role, mapped property or field. Default: the row property name. |
includeOccurrencesoptional | readonly includeOccurrences?: boolean | undefined; | One row per occurrence of |
rangeoptional | readonly range?: {
readonly start: Date;
readonly end: Date;
} | undefined; | |
rowsoptional | readonly rows?: readonly Row[] | undefined; | Rows to export instead of the Scheduler's events ( |
fileNameoptional | readonly fileName?: string | undefined; | File name; the extension is added when missing. Default |
downloadoptional | readonly download?: boolean | undefined; | False resolves to the file without downloading it. Default true. |