C1Schedule Group Navigation Event

Posted by: SHanau on 18 February 2022, 8:49 am EST

  • Posted 18 February 2022, 8:49 am EST

    Hi there,

    Is there any event around to be triggered when a user clicks on those navigation elements of the group navigation area situated in the upper right corner of C1Schedule ?

    Thanks in advance,

    Stephan

  • Posted 21 February 2022, 3:19 am EST

    Hi Stephan,

    Currently, there is no event to get notified for the click events of the navigation buttons.

    We have posted an enhancement request to the development team and will let you know when we have an update.

    Regards

    Avnish

    [Internal Tracking ID : C1WIN-26848]

  • Posted 22 February 2022, 6:17 pm EST

    Hi,

    As per the development team, you can hide the navigation buttons by using the C1Schedule.ShowGroupNavigation property and then place your own buttons in the same place and implement your own logic in the event handlers.

    To implement the Group Navigation functionality with your custom buttons, you can use the c1Schedule1.NavigateToScheduleGroup method. Kindly refer to the attached sample.

    Also, Could you please let us know your use case, or what actions do you want to perform in the event handlers for these buttons?

    Regards

    Avnish

    C1ScheduleSample_MOD.zip

  • Posted 11 March 2022, 6:15 pm EST

    Hi,

    Thanks for the example. I will give it a try.

    As for your question: While navigating through different appointment groups I would love to have an event firing in order to determine which appointment groups are currently visible after our users have clicked onto those navigation buttons .

    I need that information in the occasion that more than one appointment group is being displayed at once in order to manipulate the time interval by changing it to the smallest scale of minutes to display appointments which belong to those groups visible with their correct time interval proportions.

    For example:

    When two appointment groups are visible, one with a 5 minute time interval and the other with a 15 minute time interval, the 5 minute appointments should occupy one time slot and the 15 minutes appointments should therefore occupy three time slots accordingly.

    Right now, if I set the time interval generally to 15 minutes, the 15 minute appointment would occupy one time slot and the 5 minute appointment would occupy just a third of a time slot.

    Regards,

    Stephan

  • Posted 15 March 2022, 2:55 pm EST

    Hi Stephan,

    We have forwarded your requirement to the development team to get their insights on it. We will let you know as soon as we have an update.

    Regards,

    Kartik

  • Posted 25 April 2023, 8:38 pm EST

    Hi Stephan,

    Apologies for the delay in response. The development team has suggested using the C1Schedule.VisibleGroupItems.CollectionChanged event for your requirement. Please refer to the code snippet below.

    
    ((System.Collections.Specialized.INotifyCollectionChanged)c1Schedule1.VisibleGroupItems).CollectionChanged += VisibleGroupItems_CollectionChanged;
    
    private void VisibleGroupItems_CollectionChanged(object sender, System.Collections.Specialized.NotifyCollectionChangedEventArgs e)
    {
    	//Do custom actions here
    }
    

    Thanks, and Regards,

    Kartik

Need extra support?

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

Learn More

Forum Channels