Scheduler rowheight

8 posts, 0 answers
  1. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 05 Feb 2009 Link to this post

    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
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 06 Feb 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. David Penny
    David Penny avatar
    174 posts
    Member since:
    Jun 2006

    Posted 06 Feb 2009 Link to this post

    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
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Feb 2009 Link to this post

    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.
  6. MikeWiese
    MikeWiese avatar
    41 posts
    Member since:
    Apr 2007

    Posted 31 Mar 2009 Link to this post

    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
  7. Amanda
    Amanda avatar
    16 posts
    Member since:
    Feb 2009

    Posted 01 Apr 2009 Link to this post

    I'm having the same issue with the Q1 2009 release as well.

    Amanda
  8. Kamen Bundev
    Admin
    Kamen Bundev avatar
    1532 posts

    Posted 03 Apr 2009 Link to this post

    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.
  9. Amanda
    Amanda avatar
    16 posts
    Member since:
    Feb 2009

    Posted 03 Apr 2009 Link to this post

    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;  
        } 
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017