I am using Kendo Scheduler control. By default it is showing "Date","Time" and "Event" in the "Agenda" view. How to extend scheduler agenda view to include additional column as shown in attached image?
I tried templates as shown below.
<script id="event-template" type="text/x-kendo-template">
<button class="edit-event" data-uid="#=uid#">Custom Column</button>
<div>Notes: #: notes#</div>
</div>
</script>
and in Kendo initialization,i added below code
views: [
{
type: "agenda",
eventTemplate: $("#event-template").html()
},
],
But it did not render as expected :(
I tried below url Kendo Forum link but it's not redirected me to any solution.
To add a custom view which current existing are
day
,week
,month
,agenda
&timeline
, you have to make an extended class which extend fromkendo.ui
class as Kendo UI code library example gave to us.I encourage you to follow that example so it will work properly for
edit
,remove
andrecurrence
events. Therefore you should look into it, yet if you have scheduler that only display events with simplicity just want to add custom column inside existing view, you can see my example here.I exploit scheduler data bound events and write necessary DOM to header and body of scheduler, so it will reflect just like what you had describe above.
Scheduler Custom View Code Library - recommended solution
Scheduler Custom Column Alternative
Hope this help..