We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

iOS - set color of multiple dates

Hi,

Can we set different color to the range of dates which we want and also for specific date? As like in Android. 

Properties like  CurrentMonthTextColor and DisabledTextColor are working in Android only but not in iOS.
Is there any solution for this?



4 Replies

HM Hemalatha Marikumar Syncfusion Team June 14, 2016 12:51 PM UTC

Hi Bharadwai,

Thanks for contacting Syncfusion Support.

Query: Can we set different color to the range of dates which we want and also for specific date?

Your requirement can be achieved by using OnDrawMonthCell property. We have created a sample for the same and it can be downloaded from the following link

Link: http://www.syncfusion.com/downloads/support/forum/124540/ze/CalendarSample12454048645171

Note: OnDrawMonthCell is available in our latest version 14.1451.0.46. Please upgrade your version to the latest one.

Query: CurrentMonthTextColor and DisabledTextColor are not working in iOS

We were unable to reproduce this issue. Please refer the above sample. If the issue still persists, update us with the modified sample or replication procedure to analyze more and provide an appropriate solution.

Regards,
Hemalatha M.R



BS Bharadwaj Satbhai June 15, 2016 06:19 AM UTC

Hi Hemalatha,

It is not working properly for iOS. 

Note: OnDrawMonthCell is available in latest version but not getting called for iOS. Please do the needful changes for iOS.

Please check the following link to get a modified code-

https://drive.google.com/file/d/0Bzn6WXsEhrOmWTVfVkd4NnJyMEk/view?usp=sharing


Thanks.


BS Bharadwaj Satbhai June 15, 2016 06:22 AM UTC

Hi,

One more functionality i have added to the code is inline events.
This works perfectly on both the platforms but i want to show indicator for it.
Inline event indicator is showing for iOS but not for Android.

Why these things happens? Please update asap. Awaiting for reply.

Thanks!


HM Hemalatha Marikumar Syncfusion Team June 16, 2016 08:37 AM UTC

Hi Bharadwaj,

Thanks for your update.

The reported issues," OnDrawMethodCell is not working properly for iOS " and "Inline event indicator is not showing for Android. " are known issues. We have already fixed these issues. This fix will be available in our upcoming volume 2 release. You can check our website periodically to know about our release.

Regards,
Hemalatha M.R


Loader.
Live Chat Icon For mobile
Up arrow icon