Is there a way to increase the day cell heights when viewing the calendar in month mode?
3 Answers, 1 is accepted
0
Jack
Telerik team
answered on 10 Mar 2015, 09:47 AM
Hello Jacob,
Day cell height is calculated based on the calendar size in month view mode. You can increase the day cell height by increasing the size part of the calendar frame.
I hope this helps. Do not hesitate to contact us if you have further questions.
Regards,
Jack
Telerik
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.
Is It possible to decrease the number of weeks shown. It currently shows 6 weeks is it possible to make it 5?
0
Jack
Telerik team
answered on 11 Mar 2015, 09:30 AM
Hello Jacob,
Yes, you can control this by changing the value of equalWeekNumber property in TKCalendarMonthPresenter. If this property is set to YES, TKCalendar will display 6 weeks in order to preserve the same calendar height when changing to a month with different week count. Consider the sample below:
Please note that currently there is an issue and you should set the number of rows explicitly by setting the weeksInMonth property. We will address the issue in our upcoming service pack. Here is the code:
[presenter setValue:@5 forKey:@"weeksInMonth"];
I hope this helps.
Regards,
Jack
Telerik
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.