# SchedulerEditing (@salmonui/scheduler)

> The SchedulerEditing interface of @salmonui/scheduler.

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerEditing

```ts
import type { SchedulerEditing } from '@salmonui/scheduler';
```

Entry index: https://salmonui.dev/docs/reference/scheduler (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/scheduler.md).

## Reference

Kind: interface

```ts
interface SchedulerEditing<Row = unknown> {
    readonly add?: boolean;
    readonly edit?: boolean;
    readonly delete?: boolean;
    readonly dialog?: boolean;
    readonly following?: boolean;
    readonly recurrencePrompt?: boolean;
    readonly validateRecurrence?: boolean;
    readonly createId?: (row: Row) => EventId;
    readonly renderDialog?: (ctx: SchedulerDialogContext<Row>) => ReactNode;
    readonly renderDialogHeader?: (ctx: SchedulerDialogContext<Row>) => ReactNode;
    readonly renderDialogFooter?: (ctx: SchedulerDialogContext<Row>) => ReactNode;
    readonly inline?: boolean;
}
```

Members (12):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `add` | `readonly add?: boolean;` | optional |  |
| `edit` | `readonly edit?: boolean;` | optional |  |
| `delete` | `readonly delete?: boolean;` | optional |  |
| `dialog` | `readonly dialog?: boolean;` | optional | The built-in editor dialog (default true). |
| `following` | `readonly following?: boolean;` | optional | Offer the `'following'` scope. |
| `recurrencePrompt` | `readonly recurrencePrompt?: boolean;` | optional | Ask for the scope of recurring edits and deletes (default true). |
| `validateRecurrence` | `readonly validateRecurrence?: boolean;` | optional | Validate recurrence rules and occurrence moves (default true). |
| `createId` | `readonly createId?: (row: Row) => EventId;` | optional | Id of a new event (default: a counter above the largest numeric id, else a random string). |
| `renderDialog` | `readonly renderDialog?: (ctx: SchedulerDialogContext<Row>) => ReactNode;` | optional | Replaces the editor dialog body. |
| `renderDialogHeader` | `readonly renderDialogHeader?: (ctx: SchedulerDialogContext<Row>) => ReactNode;` | optional |  |
| `renderDialogFooter` | `readonly renderDialogFooter?: (ctx: SchedulerDialogContext<Row>) => ReactNode;` | optional |  |
| `inline` | `readonly inline?: boolean;` | optional | Typing in a focused cell creates an event; Enter on an event edits its title in place. A cell click then selects without the cell quick info. |
