How can I set a fixed row height and column width in Telerik WinForms RadScheduler?

1.3k Views Asked by At

How can I set a fixed row height and column width in Telerik (UI for WinForms) RadScheduler when using a timeline view with grouping by resources?

I could find only the Resources per view property which automatically changes the height when the resource numbers are different.

1

There are 1 best solutions below

0
On

If you're using the timeline view, I'm afraid this is the only way to control the height, by actually setting the Resources per view as you mentioned. This was confirmed by Stefan, one of Telerik's admins. Please, check his answer in this post.

As for the width, I'm still researching it, however, it can be changed in proportion to other columns which are considered to be 1 by default, so if you set one of columns' width to 2, it will be twice the standard size:

((SchedulerTimelineViewElement)radScheduler1.ViewElement).SetColumnWidth(0, 2); // 0 being the column index and 2 being the width

[Edit: This is also mentioned in the documentation]