This is a migrated thread and some comments may be shown as answers.

Unable to resize the Column and Row in schedule view

10 Answers 138 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Suganya
Top achievements
Rank 1
Suganya asked on 18 Oct 2018, 02:40 PM

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

10 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 22 Oct 2018, 06:45 AM
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.
0
Suganya
Top achievements
Rank 1
answered on 27 Oct 2018, 07:33 AM
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
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 29 Oct 2018, 02:46 PM
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.
0
Dev
Top achievements
Rank 1
Veteran
answered on 27 Feb 2020, 01:07 PM

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?

0
Hristo
Telerik team
answered on 02 Mar 2020, 02:55 PM

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.
0
Dev
Top achievements
Rank 1
Veteran
answered on 10 Mar 2020, 11:19 AM

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

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 11 Mar 2020, 07:39 AM

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.
0
Dev
Top achievements
Rank 1
Veteran
answered on 11 Mar 2020, 08:18 AM

Hi Dess,

Thanks for your reply. It's working fine.

0
Dev
Top achievements
Rank 1
Veteran
answered on 17 Mar 2020, 07:11 AM

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

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 17 Mar 2020, 12:19 PM

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.
Tags
Scheduler and Reminder
Asked by
Suganya
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Suganya
Top achievements
Rank 1
Dev
Top achievements
Rank 1
Veteran
Hristo
Telerik team
Share this question
or