How to extend scheduler agenda view to include additional column

心不动则不痛 提交于 2019-12-05 15:52:57

To add a custom view which current existing are day, week, month, agenda & timeline, you have to make an extended class which extend from kendo.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 and recurrence 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..

Apparently it does not supported by kendo, kendo team says :

Adding more columns to the "Agenda" view is not supported out of the box and it will require custom solution which is out of scope of our support service

But you can extend the scheduler widget like mentioned on the forum post, there also 2 sample of way extending the widget

      schedulerHeader.append("<th>Rating</th>"); 
      schedulerHeader.append("<th>Time</th>"); 

Hmm, the comment above didn't have formatting so I'll post the above again. This helps, but I think I need to rewrite the whole template.

The example telerik keeps giving for a custom view is ok but very basic. It only does the DataHeaderTemplate and event template, it doesn't add columns.

I'm looking for a column after every day, so I can put extra visual lines to show the status. Sounds like I need to rewrite the column and header templates. I don't see any good examples of that

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!