I have two things I'm trying to do using the Kendo UI scheduler in Timeline view:
1. I want to add some text above all of the resources, to specify what the resources are. The attached picture shows the location where I want to add the text. Is there a way to do this?
2. I would also like to add a second column next to the resource column that contains additional information from the event. Is there a way to do this as well?
5 Answers, 1 is accepted
Please check the answers of your questions below:
1) This can be done by using the "dataBound" event to manually find the cell and populate it's text. Another possible solution is to create custom view by extending one of the build-in ones, however this approach is not recommend for small customization.
2) I'm not sure that I understand what exactly you are trying to achieve - could you please elaborate more on this and provide more screenshots? This would help me advice you better how to proceed.
Regards,
Vladimir Iliev
Telerik
Thanks Vladimir. Regarding question #1, how do I know which cell it is to set the text?
I have attached another screenshot to explain what I'm trying to do. I basically what to show text from a field on the event. In all of the examples it shows having multiple groups of resources, but I don't want to do this - instead I want to group by one resource and add an extra column, similar to how the gantt control works. Does that make sense?
From the provided screenshot it seems that you scenario is good candidate for using Scheduler resources and group the data by the defined resource (Employee in current case). For more information on the matter I would suggest to check the following help article and demo:
Regards,
Vladimir Iliev
Telerik
Hi Vladimir,
I am already grouping the resources vertically, so your suggestion is not what I want. If I add two sets of resources like the demo shows, it duplicates the first set of resources for each second resource. This demo here is not the behavior I'm looking for (http://demos.telerik.com/kendo-ui/scheduler/resources-grouping-vertical). I'm looking for one resource group, and add a second column like the picture I posted above shows.
What I want is very similar to how the Gantt control is working, where you have multiple columns on the left that show information from the event, then the schedule on the right.
Does that make sense?
The desired behavior is not supported out of the box and it will require creating custom view which falls outside the scope of this support service. Curently I could only suggest to use the following example as starting point:
Regards,
Vladimir Iliev
Telerik