This is a migrated thread and some comments may be shown as answers.

Custom Editor Title

1 Answer 419 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 10 Dec 2019, 03:48 PM

Is possible change title text and action buttons of edit dialog in Custom Edit Form example ? Or EditDialogTemplateDirective customize only body of edit dialog?

And if I want change "header" or "footer" of edit dialog I must use External Form - for example: https://stackblitz.com/edit/angular-z4vcb8

 

1 Answer, 1 is accepted

Sort by
0
Dimiter Topalov
Telerik team
answered on 12 Dec 2019, 09:29 AM

Hi Daniel,

The built-in EditTemplate enables the developer to customize the content/body of the dialog only. However, the title and the action buttons texts are customizable via the CustomMessages, e.g.:

 <kendo-scheduler
            [kendoSchedulerBinding]="events"
            [kendoSchedulerReactiveEditing]="createFormGroup"
            [selectedDate]="selectedDate"
            style="height: 600px;"
        >
            <kendo-scheduler-week-view startTime="07:00">
            </kendo-scheduler-week-view>
            <kendo-scheduler-messages
                editRecurringDialogTitle="My edit recurring dialog title"
                editOccurrence="My edit current occurence text"
                editSeries="My edit series text"
                editorTitle="My event title"
                cancel="My Cancel"
                save="My Save"
            >
            </kendo-scheduler-messages>
...

https://stackblitz.com/edit/angular-e3ajuk?file=app/app.component.ts

All customizable items are listed in the API:

https://www.telerik.com/kendo-angular-ui/components/scheduler/api/SchedulerCustomMessagesComponent/

I hope this helps.

Regards,
Dimiter Topalov
Progress Telerik

Get quickly onboarded and successful with your Telerik and Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Scheduler
Asked by
Daniel
Top achievements
Rank 1
Answers by
Dimiter Topalov
Telerik team
Share this question
or