c1Schedule Grouping manually inbound mode

Posted by: andreas.kren on 1 April 2020, 2:00 am EST

  • Posted 1 April 2020, 2:00 am EST

    Hi, I am trying to to make grouping work in an unbound c1Schedule control in which every data is added manually.

    Is there a sample? The one available sample uses NWind Data and doesnt imho really help.

    Thank you for any help.
  • Replied 1 April 2020, 5:18 am EST

    It seems the grouping doesnt work in the timeline view?!
  • Marked as Answer

    Replied 1 April 2020, 10:14 pm EST

    Hi Andreas,

    Grouping can be done in an unbound mode in C1Schedule as implemented in the attached sample.

    For this you need to add the contact, resource, category... information to the master list as showing in the following documentation link:

    https://www.grapecity.com/componentone/docs/win/online-schedule/contacts.html
    https://www.grapecity.com/componentone/docs/win/online-schedule/categories.html
    https://www.grapecity.com/componentone/docs/win/online-schedule/resources.html

    I have implemented grouping on the basis of Resources in the attached sample, similarly, you can do it for other storage classes.

    >>It seems the grouping doesnt work in the timeline view?
    No, it works in TimeLine view and the groups appear in the left side.

    Regards,
    Prabhat Sharma.
    UnboundModeGrouping.zip
  • Replied 1 April 2020, 10:23 pm EST

    Thank you, I ll look at it! Nice, that there finally is the "notification" feature!
  • Replied 1 April 2020, 10:30 pm EST

    Hm, in my case there as a linked Calender Control showing, "selected" days , maybe there is a problem ...
  • Replied 1 April 2020, 10:35 pm EST

    hm, just works when i add these elements to your sample, thank you!
    I only tried to group via contact and owner and both didnt work... but i surely will find out why!

    Thank you
  • Replied 2 April 2020, 1:02 am EST

    got it:

    the difference between my project and your sample was:

    me:

    dim x as new appointment

    x.<properties> = values
    c1Schedule1.DataStorage.AppointmentStorage.Appointments.Add(x)

    you:


    dim x as appointment

    x = c1Schedule1.DataStorage.AppointmentStorage.Appointments.Add()
    x.<properties> = values

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels