-
Notifications
You must be signed in to change notification settings - Fork 1.9k
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calendar Date Range background Between today date and selected end date #458
Comments
@tharhtet You can use There is a gist to get all dates between two dates: https://gist.github.com/WenchaoD/4ee6276e36b2a5ccd02fddd367ebaae2 |
Is it correct to write within in didSelectDate? When i create within didSeletDate in DelegateAppeanraceExample, it doesn't work. May i know where will i write the selected date click event? Thank for the reply.
|
Although I get date lists between two dates, but the calendar Interface not change like Figure 2. May I know how to set the background between two dates? Thank. |
I added the code below. The code is not working in swift. Although It added 2016/11/01 and 2016/11/02, it is adding ("2016-11-06 10:27:37 +0000", "2016-11-06 10:27:37 +0000"). Could i get solution. Thank a lot. let fromDate = NSDate() |
I have got the solution thank. let calendar = NSCalendar.currentCalendar() |
if you pick date from 20 until 25, how can i prevent if user pick on 22 and deselect the autoselect? it can be usefull for rangepicker. thanks for helping |
If you date is today (20) you can disabled all date before 20 with shouldSelect Function.
|
Figure 1.
Figure 2.
I would like to get design like Figure 2.
I would like to add the color between today date and selected end date.
But I don't know how to.
When I select the preferable end date, today date color will change to red color background.
And all the dates between today date and selected date will be changed into light blue.
For example if today date is (20.10.2016), I select the end date into (25.10.2016)
So all the dates between 20.10.2016 to 25.10.2016 background will be light blue.
And the minimum date will be today date.
May I know how can I do that.
And does this library support how I wanted to do?
Thanks a lot!
The text was updated successfully, but these errors were encountered: