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

Changing the height of a day cell in monthview

7 Answers 125 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cedric
Top achievements
Rank 1
Cedric asked on 26 Oct 2007, 12:23 PM

Good day,

Is there a way to change the height of a day cell in a monthview? I can change the width of the scheduler without any problems, the width of the days change accordingly. However, if i change the height of the radscheduler, the it goes in a scrolling mode. The day cells always have the same height, in the monthview

Thank you!

7 Answers, 1 is accepted

Sort by
0
Cedric
Top achievements
Rank 1
answered on 29 Oct 2007, 01:48 PM
Good day,

if anyone has any ideas, any tips would be appreciated, as this is fairly urgent.

Thank you!
0
Peter
Telerik team
answered on 29 Oct 2007, 02:30 PM

Hi Cedric,

Thank you for your interest in RadScheduler.

The class which controls the appearance of the MonthView cells is rsCell. To change the height of the cells in MonthView you need to overwrite the height attribute of this class:

<head runat="server">  
    <style type="text/css">  
    .rsMonthView .rsCell  
    {  
        height: 100px !important;  
    }  
    </style> 
</head> 



Best wishes,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Cedric
Top achievements
Rank 1
answered on 29 Oct 2007, 02:38 PM
Hi Peter,

Thank you so much! I was missing the " !important ", and it wasn't working here. With your code, it works :)

Thank you again for your great work !
0
Peter
Telerik team
answered on 29 Oct 2007, 03:36 PM
Hello Cedric,

Actually, we should thank you for your question which led our UX team to further investigate the case and find an even better solution and make a KB article:

http://www.telerik.com/support/kb/article/b454K-met-b454T-cgm-b454c-cgm.aspx





All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rory
Top achievements
Rank 1
answered on 19 Nov 2007, 11:34 PM
Hi there I'm also trying to edit the Cell and Table size but of the Hours Table and Cells for WeekView and DayView. I wish to make my Scheduler 15 minutes per each cell and each cell around 7 pixels tall so that its closer to fitting on a page without scrolling. It seems though once I get below about 14 pixels the cells and hours tables are no longer aligned. I tried overriding in the page's <head> like above and it did nothing. Here is what I've currently edited in my Custom skin which seems to have proportionately made verything smaller but this is as small as it will get proportionately. Is there another .rsCell that I need to alter its' height or how can I make my cells smaller?

.RadScheduler_CustomSkin .rsHoursTable th,
.RadScheduler_CustomSkin
.rsCell,
.RadScheduler_CustomSkin .rsDayView .rsCell
.RadScheduler_CustomSkin .rsWeekView .rsCell,
{
    height: 14px;
}

0
Peter
Telerik team
answered on 21 Nov 2007, 01:05 PM
Hello Rory,

Thank you for your question. Please, try the following:

.RadScheduler_CustomSkin  .rsHoursTable tr th,
.RadScheduler_CustomSkin  .rsCell,
.RadScheduler_CustomSkin  .rsDayView .rsCell,
.RadScheduler_CustomSkin  .rsWeekView .rsCell
{
  height: 14px;
  line-height: 14px;
}

Let us know if you experience any problems.



All the best,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Rory
Top achievements
Rank 1
answered on 27 Nov 2007, 07:34 PM
Thank you very much line-height did the trick. Your forum is great Thanks.
Tags
Scheduler
Asked by
Cedric
Top achievements
Rank 1
Answers by
Cedric
Top achievements
Rank 1
Peter
Telerik team
Rory
Top achievements
Rank 1
Share this question
or