iOS Calendar Event Indicator

5 posts, 1 answers
  1. Suman
    Suman avatar
    3 posts
    Member since:
    Jul 2014

    Posted 01 Dec 2014 Link to this post

    How to change event indicator style of iOS Telerik Calendar. Currently a dot is coming as an indicator.
  2. Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 01 Dec 2014 Link to this post

    Hi Suman Ghosh,

    You may find the properties affecting  the way events are displayed - here.
    Please let me know what is the final look you are trying to achieve and I will be glad to gather a small sample for you.

    Regards,
    Pavel Pavlov
    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.

     
  3. DevCraft banner
  4. Suman
    Suman avatar
    3 posts
    Member since:
    Jul 2014

    Posted 03 Dec 2014 in reply to Pavel Pavlov Link to this post

    Hi Pavel Pavlov ,

    Thanks for your reply. I want a underline indicator on Telerik iOS Calendar to indicate events. Also, can I able to change the month title to uppercase letter.

    Thanks & Regards,
    Suman Ghosh.
  5. Answer
    Pavel Pavlov
    Admin
    Pavel Pavlov avatar
    2039 posts

    Posted 03 Dec 2014 Link to this post

    Hi Suman,

    If you paste the following method into your TKCalendarDelegate , it should replace the default shape with a small underline :

    - (void)calendar:(TKCalendar*)calendar updateVisualsForCell:(TKCalendarCell*)cell;
    {
        if ([cell isKindOfClass:[TKCalendarDayCell class]]) {
            TKCalendarDayCell *dayCell = (TKCalendarDayCell*)cell;
            dayCell.style.eventShape = [[TKPredefinedShape alloc] initWithType:TKShapeTypeSquare andSize:CGSizeMake(10, 1)];
        }
    }


    Regards,
    Pavel Pavlov
    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.

     
  6. Suman
    Suman avatar
    3 posts
    Member since:
    Jul 2014

    Posted 03 Dec 2014 in reply to Pavel Pavlov Link to this post

    Thanks Pavel. It's working fine. :)

    Regards,
    Suman ghosh
Back to Top
DevCraft banner