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

Resizing individual Columns of Schedule Grid

3 Answers 170 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Matheswari
Top achievements
Rank 1
Matheswari asked on 26 Oct 2016, 10:52 AM
 Is there any direct feature available to resize the columns in grid by hovering over the left/right border of each Column and clicking/dragging to resize the column width or what is the approach to achieve this.

3 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 27 Oct 2016, 11:23 AM
Hi ,

Thank you for writing.

The required functionality is not supported out of the box. You can, however, achieve the desired behavior by manually handling the mouse events in the and calculate the width while dragging a particular column: http://docs.telerik.com/devtools/winforms/scheduler/views/day-view#modifying-the-size-of-day-view-columns.

While investigating this scenario I isolated an issue with the mentioned above method. The issue is logged in our feedback portal. I have also added a vote for it on your behalf, additionally, you can subscribe to the item and be updated with its status changes: 
FIX. RadScheduler - the SetColumnWidth method is not working in the SchedulerDayViewElement class. Your Telerik points are also updated accordingly.

I am sending you attached a sample project demonstrating the suggested approach as well as a short video showing the result on my end.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik by Progress
Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms. For more information check out this blog post and share your thoughts.
0
Scott
Top achievements
Rank 1
answered on 04 Apr 2017, 12:08 PM

Hi Hristo:

I am interested in this solution and see that the issue for "FIX.RadScheduler - the SetColumnWidth..." says it is completed. I downloaded the sample project you attached to this forum post and have the latest version of telerik controls on my machine. But the resize does not work in Month View. Is there some code change needed?

Thanks.

0
Hristo
Telerik team
answered on 05 Apr 2017, 02:38 PM
Hi Scott,

Thank you for writing.

The mentioned issue was fixed in the R1 2017 release. The project in my previous post is handling the day and week views. By following the same approach it can be extended to work with the Month and Timeline view as well as when grouped.

I am attaching an updated version of the solution.

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Scheduler and Reminder
Asked by
Matheswari
Top achievements
Rank 1
Answers by
Hristo
Telerik team
Scott
Top achievements
Rank 1
Share this question
or