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

Scheduler rowheight

7 Answers 167 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
David Penny
Top achievements
Rank 2
David Penny asked on 05 Feb 2009, 02:06 PM
Hi,

I have added the line RadScheduler1.rowheight = 10 to my page (using ASP.Net Ajax 2008.3.1314.20).  Although this displays the time slots in the new height, the hours text on the left of the scheduler no longer lines up with the time slots, and the appointments within the days do not represent the actual time of each appointment - that is, they do not line up with the time slots displayed either.

David Penny

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 06 Feb 2009, 11:18 AM
Hi David Penny,

This problem can occur if the font-size of the hours panel is too large in comparison to the row height. To workaround this, you can override the styling of RadScheduler and decrease the font-size for the hours panel with the following css:
  .rsVerticalHeaderTable div  
    {  
        font-size8pt !important;  
        }  
        .rsAmPm  
        {  
            font-size9px !important;  
        } 


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
David Penny
Top achievements
Rank 2
answered on 06 Feb 2009, 12:55 PM
Hi,

That seems to be part of the answer.  The scheduler now looks better, but as I scroll down a day (my Scheduler is set to 15 minute units and runs from 8 a.m. to 6 p.m.) the appointments get more and more out of synch with the times as the day goes on, until an appointment that starts at 3 p.m. and finishes at 5.30 p.m. shows as finishing at 4.30 p.m.  I have tried setting of 

RadScheduler1.RowHeight = 10 to RadScheduler1.RowHeight = 30 and all are slightly different, but all fail to line up towards the end of a day.  I am also setting the overall height of the RadScheduler to a fixed height as well, although I don't suppose that will make any difference.

 


David Penny
0
Peter
Telerik team
answered on 09 Feb 2009, 03:27 PM
Hi David,

Please, open a support ticket and send us a simple working demo which we can test locally.


Best wishes,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
MikeWiese
Top achievements
Rank 1
answered on 31 Mar 2009, 12:02 PM
Hey David, I share your pain. I was trying to change the RowHeight too in the Q3 2008 version, and it just won't line up out of the box. I hacked something together, inspired by the tip above and by inspecting the generated HTML:

YMMV, but the following worked well enough for me:

.rsVerticalHeaderWrapper  
{  
    padding-top: 6px;  
}  
 
.rsVerticalHeaderTable div  
{     
    font-size: 9pt !important;  
    height:12px !important;  
}  
 

Mind you, I've just tried the 2009 Q1 release, and it works fine for me now without any such tricks.

Cheers,
Mike Wiese
0
Amanda
Top achievements
Rank 1
answered on 01 Apr 2009, 06:55 PM
I'm having the same issue with the Q1 2009 release as well.

Amanda
0
Kamen Bundev
Telerik team
answered on 03 Apr 2009, 09:02 AM
Hi Amanda,

Mike said in his previous post that it works out of the box for him and Q1 2009. Can you provide more information about your specific issue? Please bear in mind row-height smaller than the font-size would have problems in Internet Explorer and you should lower your font-size to get it working.

Regards,
Kamen Bundev
the Telerik team

Check out Telerik Trainer , the state of the art learning tool for Telerik products.
0
Amanda
Top achievements
Rank 1
answered on 03 Apr 2009, 05:44 PM
Hi Kamen,

I was in a goto meeting this morning with your support team and this was the solution they gave me for my project:

* html .RadScheduler .rsContent .rsVerticalHeaderTable tr.rsAlt div   
    {  
        height: 25px;  
    } 
Tags
Scheduler
Asked by
David Penny
Top achievements
Rank 2
Answers by
Peter
Telerik team
David Penny
Top achievements
Rank 2
MikeWiese
Top achievements
Rank 1
Amanda
Top achievements
Rank 1
Kamen Bundev
Telerik team
Share this question
or