How do I select a day with the circle icon showing up

Thread is closed for posting
2 posts, 0 answers
  1. James
    James avatar
    16 posts
    Member since:
    Jan 2012

    Posted 30 Mar 2017 Link to this post

    Hello. I have this code.


    self.tkCalendar.selectedDate = event.endDate




    it selects the date but the circular icon around the day does not show up. Can you assist?


    Thanks in advance.



  2. Deyan
    Deyan avatar
    2147 posts

    Posted 03 Apr 2017 Link to this post

    Hello James,

    As per this documentation article:

    you can use the TKCalendarDelegate  protocol and implement its calendar:upateVisualsForCell: method to change the styles of a cell depending on its state.

    In this method you have a reference to the cell in question which exposes API to help you understand if it is selected or not. Take a look at the API ref:

    Based on that state you can use the style property to change the shape which is exposed by the shape property:

    I hope this is helpful.

    Telerik by Progress
    Want to build beautiful Android apps as well? Check out UI for Android which enables the same set of scenarios, allowing you to create the same great app experience on both iOS and Android.
Back to Top