Completed
Last Updated: 24 Sep 2019 09:43 by ADMIN
ADMIN
Ivan Todorov
Created on: 30 May 2012 05:12
Category: Scheduler/Reminder
Type: Feature Request
12
ADD. RadScheduler - add the possibility to modify resources' width/height in different views. - added the SetResourceSize() method on SchedulerViewGroupedByResourceElementBase
Add the possibility either for the end user or the developer to modify the width or height (whichever is relevant) of the resource areas in different views.
4 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 24 Sep 2019 09:43

 

Hello,   

I would like to note that we have considered all the feedback from our customers and the available internal implementation in RadScheduler when introducing this functionality. Note that the resources per view in RadScheduler are stretched to occupy the whole available space. By default, they have equal size. When RadScheduler changes its size, the resources size changes accordingly. Since the resources size directly depends on the size of RadScheduler, we have implemented public API for proportional size setting via the SetResourceSize method. Otherwise, you can display one resource per view and specify width/height that is less or greater than the available space in RadScheduler. This would break the layout. That is why we have chosen the proportional size.

It is not possible to specify a fixed size for the resources and thus to control their height. To manipulate the size of the resources, you can use the SetResourceSize and GetResourceSize methods. The values passed to the SetResourceSize method are proportional and the actual size of the resources is calculated based on them. By default, all resources have a value of 1 and therefore if you set a value of 2 to any resource, it will stay twice as bigger compared to the others. Thus, considering the scheduler's size and resources per view it would be possible to calculate what is the ratio exactly to obtain a certain fixed size for a resource and achieve the custom requirement that you have. 

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.
TRANSEPT
Posted on: 23 Sep 2019 12:21

Modifying the Size of the Resources

RadScheduler allows you to specify different size for the different resources. To manipulate the size of the resources, you can use the SetResourceSize and GetResourceSize methods. The values passed to the SetResourceSize method are proportional and the actual size of the resources is calculated based on them. By default all resources have a value of 1 and therefore if you set a value of 2 to any resource, it will stay twice as bigger compared to the others.

 

 

WE NEED the way to set specific height to be applied equal for all resource

Clyde
Posted on: 14 May 2014 10:02
Result!
Jesse Dyck
Posted on: 14 Feb 2013 10:50
This would be a serious help for us!