Hide empty first row

2 posts, 0 answers
  1. Julian
    Julian avatar
    1 posts
    Member since:
    Jun 2010

    Posted 06 Sep 2014 Link to this post

    Hi, I'm using a tag like

    <telerik:RadCalendar FirstDayOfWeek="Monday" ShowOtherMonthsDays="false">

    to hide other days in the month. However, the space is still taken. so, for a month like September, there is an empty first row. What's the logic behind this. Can an empty first row be hidden?
  2. Viktor Tachev
    Viktor Tachev avatar
    1786 posts

    Posted 09 Sep 2014 Link to this post

    Hi Julian,

    The RadCalendar renders six rows for the dates because for some moths there could be couple of days on the first or the sixth row (check June 2014 for reference).

    If some of the rendered rows are removed and the RadCalendar is placed in milti-month view the different months would not be aligned.

    In case you would like to modify the number of rows that are rendered for the RadCalendar you would need to use custom logic that calculates if there are dates in all the rendered rows and remove the ones that are not needed.

    Viktor Tachev

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top