Alter height of cells

2 posts, 0 answers
  1. Karjan Dual
    Karjan Dual avatar
    9 posts
    Member since:
    Nov 2005

    Posted 11 May 2009 Link to this post

    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.
  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 15 May 2009 Link to this post

    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.
Back to Top