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

How to change "Event" in title bar?

2 Answers 67 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Igor Stefanovic
Top achievements
Rank 1
Igor Stefanovic asked on 27 Feb 2021, 03:54 PM

I need to create custom editor for employee leave requests. I know how to create custom template but I am not sure how to change that title in title bar. I want it to be name of the employee since it is not event but rather leave request in my case. 

 

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 03 Mar 2021, 11:45 AM

Hello, Igor,

To change the Window title, you can use the code below in the edit event of the Scheduler:

edit: function(e) {
 $(".k-window-title").text(e.event.title);
}

Here is a small Dojo example for reference.

Let me know how that works for you.

Regards,
Martin
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Igor Stefanovic
Top achievements
Rank 1
answered on 03 Mar 2021, 11:57 AM

Thanks Martin. I've managed to find way how to do it but I apricate your response.

Tags
Scheduler
Asked by
Igor Stefanovic
Top achievements
Rank 1
Answers by
Martin
Telerik team
Igor Stefanovic
Top achievements
Rank 1
Share this question
or