Change row height in week and day view

6 posts, 1 answers
  1. Kenny
    Kenny avatar
    10 posts
    Member since:
    Apr 2014

    Posted 12 Feb 2015 Link to this post

    Dear,

    Would it be possible to change the row height of the scheduler when in week and day view?

    We've already changed some CSS for the month view because we wanted to see more items per day:

     .k-scheduler-monthview td[role='gridcell'] { /* Makes the cells larger of the month view. */
            height: 150px !important;
        }

    However we can't seem to find a similar solution for the day & week views. We're showing all 24 hours and we want to prevent our users from having to scroll down.

    Does anyone have a solution for this?

    Thanks in advance.

    Regards,
    Kenny
  2. Answer
    Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 16 Feb 2015 Link to this post

    Hi Kenny,

    The following CSS rule should help to change the td-s heights for day, week and month view in Kendo UI Scheduler: 

    .k-scheduler-dayview .k-scheduler-table td,
    .k-scheduler-weekview tr:nth-child(2) .k-scheduler-table td,
    .k-scheduler-monthview .k-scheduler-table td {
        height: 150px !important;
    }

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Kenny
    Kenny avatar
    10 posts
    Member since:
    Apr 2014

    Posted 20 Feb 2015 in reply to Iliana Nikolova Link to this post

    Cheers!

    That does the trick indeed :)

    Thanks a lot.
  5. James
    James avatar
    9 posts
    Member since:
    Feb 2016

    Posted 26 Feb Link to this post

    Hi this does a partial job as it expands session cells to 100px (in my case) but it doesn't expand time cells.

    Do you have suggestion how to set size of both time and session cells (but to not expand the first 2 rows with header data - in my case Stream 1 and Fri 25/7

  6. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 01 Mar Link to this post

    Hi James,

    The suggested rule should change the time cells height, too (dojo). Could you please modify my dojo and demonstrate your exact setup - this way I would be able to provide concrete recommendations and advise you further?

    Regards,
    Iliana Nikolova
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  7. James
    James avatar
    9 posts
    Member since:
    Feb 2016

    Posted 04 Mar in reply to Iliana Nikolova Link to this post

    You are right!

     

    Thanks for this

     

    cheers

Back to Top
Kendo UI is VS 2017 Ready