Unable to resize the Column and Row in schedule view

11 posts, 0 answers
  1. Suganya
    Suganya avatar
    9 posts
    Member since:
    Sep 2018

    Posted 18 Oct 2018 Link to this post

    In Telerik control, I'm unable to resize the Column and Row in schedule view. Please share if there is any property for this.

    screenshot link  mentioned below for your reference

    http://prntscr.com/l7kmih

  2. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3754 posts

    Posted 22 Oct 2018 Link to this post

    Hello, Suganya, 

    By design, RadScheduler doesn't allow resizing the columns. Note that depending on the applied time scale, the width of the columns is controlled. You can refer to the following forum post which demonstrates a sample approach how to achieve the desired functionality: https://www.telerik.com/forums/resizing-individual-columns-of-schedule-grid

    I hope this information helps.

    Regards,
    Dess | Tech Support Engineer, Sr.
    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. Suganya
    Suganya avatar
    9 posts
    Member since:
    Sep 2018

    Posted 27 Oct 2018 in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Hi Dess,
    Thank You.i got the column resize working fine but I need to resize the row too. Is there any possible ways to apply the Row resize to the rad-scheduler. Please share any reference
  4. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3754 posts

    Posted 29 Oct 2018 Link to this post

    Hello, Suganya, 

    The rows in RadScheduler are not supposed to be resized at all. You can control the rows' height by the applied time scale. Right click on the ruler and select the desired scale.

    I hope this information helps.

    Regards,
    Dess | Tech Support Engineer, Sr.
    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.
  5. n/a
    n/a avatar
    62 posts
    Member since:
    Jan 2018

    Posted 27 Feb in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Hi Dess,

    Is there any update on this to resize the column and rows in the radscheduler? Is there any other method that we can try to fix this?

  6. Hristo
    Admin
    Hristo avatar
    1519 posts

    Posted 02 Mar Link to this post

    Hello, Rick

    There is no new development and the rows and columns in RadScheduler are still not resizable. As my colleague noted in the previous reply the row height can be controlled by the applied time scale. Resizing the rows would make sense, however, in the timeline view when it is grouped by resources. That`s why I have extended the project already discussed in the thread to also handle this scenario. Please note, however, that this is a complex feature and the current solution might not handle all scenarios. Yet, I hope that it will fit your local setup. I am also attaching a short video showing the result on my end.

    Let us know if you have other questions.

    Regards,
    Hristo
    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.
  7. n/a
    n/a avatar
    62 posts
    Member since:
    Jan 2018

    Posted 10 Mar in reply to Hristo Link to this post

    Hi Hristo,

    In the Radschedular, while using the SchedulerDayView element & when ShowAllDayArea property is true the column re-size is working fine. But it is creating a row named "Local". Is there any way that we can hide the "Local" row & have the same functionality (Column resize) working?

    This is the code which we have used.

    DirectCast(Me.rdSched.ActiveView, Telerik.WinControls.UI.SchedulerDayViewBase).ShowAllDayArea = True

     

    Screen Shot link

  8. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3754 posts

    Posted 11 Mar Link to this post

    Hello, Rick,

    When you enable the ShowAllDayArea property (which is true by default), the following line is shown in the view:

    The "Local" text is displayed in the left part of the view just above the starting point of the ruler. If you set the ShowAllDayArea property to false, the All Day area will be hidden together with the "Local" text.

    You can keep the All Day area and just hide the "Local" text by handling the CellFormatting event: 

            private void radScheduler1_CellFormatting(object sender, SchedulerCellEventArgs e)
            {
                if (e.CellElement is SchedulerHeaderCellElement && e.CellElement.Text =="Local")
                {
                    e.CellElement.Text = "";
                }
            }

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards, 
    Dess | Tech Support Engineer, Sr.
    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.
  9. n/a
    n/a avatar
    62 posts
    Member since:
    Jan 2018

    Posted 11 Mar in reply to Dess | Tech Support Engineer, Sr. Link to this post

    Hi Dess,

    Thanks for your reply. It's working fine.

  10. n/a
    n/a avatar
    62 posts
    Member since:
    Jan 2018

    Posted 17 Mar in reply to n/a Link to this post

    Hi Hristo / Dess,

        The row/column resize option is working fine in timeline view but row resize is not working in Day, week & month view. Is it possible to have the row resize option on the (Day, week & month) views.

    Demo project & video mentioned below for your reference. Please check & suggest.

    Demo Project (The link will be valid for 6 days).

    Video Link

  11. Dess | Tech Support Engineer, Sr.
    Admin
    Dess | Tech Support Engineer, Sr.  avatar
    3754 posts

    Posted 17 Mar Link to this post

    Hello, Rick  

    Thank your for the provided sample video and project. 

    I would like to provide some explanation about the different layout that RadScheduler offers in the different views and how they are arranged. On the left side of day view, week view and month view there is a ruler which is not available in timeline view:

    It doesn't provide resizing functionality since the cells' size depends on the applied time scale and they are expected to be equal:

    Additional information about the options that are available for managing the ruler is available in the following help article: https://docs.telerik.com/devtools/winforms/controls/scheduler/fundamentals/scheduler-ruler 

    The provided custom implementation allows you to resize the resources in RadScheduler. Each resource range represents a separate view element and you actually resize it.

    If you want to have rows and columns resizing capabilities, I would suggest you to consider using RadGridView which provides this functionality out of the box:

    https://docs.telerik.com/devtools/winforms/controls/virtualgrid/end-user-capabilities/resizing-rows

    https://docs.telerik.com/devtools/winforms/controls/gridview/end-user-capabilities/resizing-columns 

    RadScheduler is not intended to be used that way.

    I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

    Regards,
    Dess | Tech Support Engineer, Sr.
    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