Grouping Appointments in Timeline View

5 posts, 0 answers
  1. Colin
    Colin avatar
    3 posts
    Member since:
    Jun 2013

    Posted 21 Jun 2013 Link to this post

    I am unable to get grouping to work, I can successfully create all the appointments I want but there is no indication of groups. I've copied source code from some Telerik documentation to populate the Resource property of the Scheduler, but no groupings ever show up.

    Besides populating Resources and Properties I setup the Scheduler with
    tlAvailability.ActiveViewType = Telerik.WinControls.UI.SchedulerViewType.Timeline
    tlAvailability.GroupType = Telerik.WinControls.UI.GroupType.Resource

    Also in some documentation (at least the Timeline Grouping in the Demo Application) calls are made to 
    Me.radScheduler1.Appointments.BeginUpdate()
    Me.radScheduler1.Appointments.EndUpdate()

    What does this do? Are they necessary (I am populating appointments with out this call)? Why aren't they called before editing the Resources?

    I'm using Telerik 2013.2.612.20, VB, .NET 2.0
  2. Colin
    Colin avatar
    3 posts
    Member since:
    Jun 2013

    Posted 24 Jun 2013 Link to this post

    I figured it out. It seems that adding Appointments (or Resources?) requires you to reset the .GroupType property of the scheduler again.

    All I had to do was add
    tlAvailability.GroupType = GroupType.Resource
    after I added the Resources and Appointments to display.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Anton
    Admin
    Anton avatar
    167 posts

    Posted 26 Jun 2013 Link to this post

    Hello Colin,

    Thank you for writing.

    That is right. In order to group by resources in RadScheduler you should set the GroupType property after the addition of the Appointments and Resources. You can take a look at our Demo Application in section Scheduler>>Grouping where you can find very useful information about the groping by resources in deference view.

    I hope this information helps. Should you have any other questions, I will be glad to assist you.

    Regards,
    Anton
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  5. tom
    tom avatar
    4 posts
    Member since:
    Aug 2008

    Posted 25 Sep 2013 Link to this post

    Anton,

    Thanks that was  a big help for me also. Now I would like to change the range of hours that show up in the time line view.
    I cant seem to find the correct method or setting. currently it always shows starting at 0:00 until 23:30. I would like to either start the timeline at 6 am OR be able to scroll for the user to that time...

    Thanks!

    Tom
  6. Anton
    Admin
    Anton avatar
    167 posts

    Posted 30 Sep 2013 Link to this post

    Hi Tom,

    Thank you for writing.

    This case is not supported by RadScheduler and there is no suitable way to achieve the desired behavior. However, we consider that this feature will be useful for our clients and we decided to add it as feature request in our Public Issue Tracking System, so the community can vote for it. You can track its status and vote for it here:http://www.telerik.com/support/pits.aspx#/public/winforms/15846

    I have updated your Telerik Points for this request.

    Let me know if you have additional questions.

    Regards,
    Anton
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top
UI for WinForms is Visual Studio 2017 Ready