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

Alter height of cells

1 Answer 63 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Karjan Dual
Top achievements
Rank 1
Karjan Dual asked on 11 May 2009, 10:18 PM
Hi there...

Sitting here and experimenting with this control, nice one I think :)

I've a small question, using
view.RangeFactor = ScaleRange.QuarterHour;

but I need to set the height of the cells, because when I use QuarterHour a working day fills more than a working day in Hour in total height and I don't want to use scroll bars in working period!

Could be nice to adjust the cell height to something smaller than it appears now.

1 Answer, 1 is accepted

Sort by
0
Boyko Markov
Telerik team
answered on 15 May 2009, 09:16 AM
Hi Karjan Dual,

Thank you for contacting us.

Here is a sample code which decreases the cells height:

 

SchedulerDayViewElement dayView = (this.radScheduler.SchedulerElement.ViewElement as SchedulerDayViewElement);

 

dayView.DataAreaElement.Ruler.DefaultSeparatorOffset = 15;


I hope this helps. Do not hesitate to write me back if you have further questions.

Kind regards,
Boyko Markov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler and Reminder
Asked by
Karjan Dual
Top achievements
Rank 1
Answers by
Boyko Markov
Telerik team
Share this question
or