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

Additional Columns for Rad Scheduler in Time Line View

3 Answers 99 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Dimuthu
Top achievements
Rank 1
Dimuthu asked on 13 Mar 2014, 07:04 AM
According to the given screen shot i have added a Skill as a Resource Type for rad scheduler. but i need to display some additional columns such as employee name who has the skills and i know it is possible to display multiple content within a single resource. the requirement is to display multiple content in multiple columns. below code explain how i have achieved the result in screen shot.

                RadScheduler1.GroupBy = "EmployeeInfo";
                RadScheduler1.GroupingDirection = GroupingDirection.Vertical;
                RadScheduler1.SelectedDate =new DateTime( DateTime.Now.Year,DateTime.Now.Month,1);
                RadScheduler1.TimelineView.NumberOfSlots = DateTime.DaysInMonth(RadScheduler1.SelectedDate.Year, RadScheduler1.SelectedDate.Month); 


                RadScheduler1.DataRecurrenceParentKeyField = "RecurrenceParentID";
                ResourceType rt = new ResourceType("EmployeeInfo");
                rt.DataSource = Employees;
                rt.KeyField = "EmployeeNo";
                rt.ForeignKeyField = "EmployeeNo";
                rt.TextField = "Skill";
                rt.Name = "EmployeeInfo";
                
                RadScheduler1.ResourceTypes.Add(rt);                                                                                                                                                                                                        is there any  possibility  to display multiple columns or group by multiple resource types?                                                                                                                                      my second resource type is given below                                                                                                                                                                                                                                       ResourceType rt1 = new ResourceType("FirstName");
                rt1.DataSource = Employees;
                rt1.KeyField = "EmployeeNo";
                rt1.ForeignKeyField = "EmployeeNo";
                rt1.TextField = "FirstName";
                rt1.Name = "FirstName";
                
                RadScheduler1.ResourceTypes.Add(rt1);                                                                                                                                                                                                      if i set                                                                                                                                                                                                                                                                                                    RadScheduler1.GroupBy = "EmployeeInfo,FirstName";  it only display the first resource type in the resource type





3 Answers, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 20 Mar 2014, 04:10 PM
Hi Dimuthu,

Can you please try to attach the image that you are referring to again since it does not seem to be available with your previous post? Thus I could get a better understanding of the scenario that you are trying to get and be able to assist you in the most efficient way.

Regards,
Kate
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
0
Dimuthu
Top achievements
Rank 1
answered on 26 Mar 2014, 03:02 AM
Hi Kate,

please see the below image, that's what I need to display  in time line view
0
Boyan Dimitrov
Telerik team
answered on 28 Mar 2014, 04:08 PM
Hello Dimuthu,

Thank you for your reply.

Please take a look at this demo that shows how you can use the resource header templates for the RadScheduler resources. Using the  <ResourceHeaderTemplate> section you are able to put some custom content to be rendered in the resource column.

Please do not hesitate to contact us if need any further assistance.

Regards,
Boyan Dimitrov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
Scheduler
Asked by
Dimuthu
Top achievements
Rank 1
Answers by
Kate
Telerik team
Dimuthu
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or