10 Answers, 1 is accepted
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
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
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
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?
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
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
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
Hi Dess,
Thanks for your reply. It's working fine.
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).
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