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

Add text to the resource group header, and adding another column

5 Answers 234 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 16 Mar 2016, 09:12 PM

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

Sort by
0
Vladimir Iliev
Telerik team
answered on 18 Mar 2016, 07:27 AM
Hi Brent,

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Brent
Top achievements
Rank 1
answered on 18 Mar 2016, 01:36 PM

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?

0
Vladimir Iliev
Telerik team
answered on 21 Mar 2016, 08:30 AM
Hello,


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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Brent
Top achievements
Rank 1
answered on 22 Mar 2016, 07:17 PM

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?

0
Vladimir Iliev
Telerik team
answered on 23 Mar 2016, 09:27 AM
Hello Brent,

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
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Scheduler
Asked by
Brent
Top achievements
Rank 1
Answers by
Vladimir Iliev
Telerik team
Brent
Top achievements
Rank 1
Share this question
or