Additional Columns for Rad Scheduler in Time Line View

4 posts, 0 answers
  1. Dimuthu
    Dimuthu avatar
    6 posts
    Member since:
    Feb 2012

    Posted 13 Mar 2014 Link to this post

    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





  2. Kate
    Admin
    Kate avatar
    1898 posts

    Posted 20 Mar 2014 Link to this post

    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.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dimuthu
    Dimuthu avatar
    6 posts
    Member since:
    Feb 2012

    Posted 25 Mar 2014 in reply to Kate Link to this post

    Hi Kate,

    please see the below image, that's what I need to display  in time line view
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 28 Mar 2014 Link to this post

    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.

     
Back to Top