Remove the local row option in scheduler

4 posts, 1 answers
  1. n/a
    n/a avatar
    72 posts
    Member since:
    Jan 2018

    Posted 21 Oct 2019 Link to this post

    Hi,

    We need to remove the local row option in scheduler from the day view. Screenshot mentioned below for your reference.

    screenshot

  2. Answer
    Nadya
    Admin
    Nadya avatar
    378 posts

    Posted 21 Oct 2019 Link to this post

    Hello Rick,

    In order to achieve this, you should access the DayViewAllDayHeader which represents the area in the SchedulerDayViewElement where all-day appointments are shown:

    SchedulerDayViewElement schedulerDayViewElement = this.radScheduler1.SchedulerElement.ViewElement as SchedulerDayViewElement;
    if (schedulerDayViewElement != null)
    {
        DayViewAllDayHeader allDayHeader = schedulerDayViewElement.AllDayHeaderElement;
        allDayHeader.Visibility = ElementVisibility.Collapsed;
    }
    

    I hope this helps. Should you have any other questions do not hesitate to ask.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. n/a
    n/a avatar
    72 posts
    Member since:
    Jan 2018

    Posted 22 Oct 2019 in reply to Nadya Link to this post

    Hi Nadya,

    Thank you for the suggested solution it works nicely.

    Also the below option works for this issue, you can check & suggest to others.

    DirectCast(Me.radScheduler1.ActiveView, Telerik.WinControls.UI.SchedulerDayViewBase).ShowAllDayArea = False
  4. Nadya
    Admin
    Nadya avatar
    378 posts

    Posted 22 Oct 2019 Link to this post

    Hello Rick,

    Thank you for sharing this suggestion. Please do not hesitate to contact us if you have any other questions or concerns.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top