Skip to content
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

How to hide days not in current month? #168

Closed
chuanghan opened this issue Dec 21, 2015 · 22 comments
Closed

How to hide days not in current month? #168

chuanghan opened this issue Dec 21, 2015 · 22 comments

Comments

@chuanghan
Copy link

Hi Wenchao,

Is there a way to:

  1. Hide days not in their current month?
  2. Hide the the separator between month header and weekday header?
    I uploaded a image below to illustrate this:
    screen shot 2015-12-20 at 11 18 21 pm

Thanks for creating this awesome library! It's very easy to use and highly customizable.

@WenchaoD
Copy link
Owner

Hi @jsnthan
It's not been supported yet. Will add it in future version.

@chuanghan
Copy link
Author

@WenchaoIOS Thanks!

@WenchaoD
Copy link
Owner

Finished.Thanks

@chuanghan
Copy link
Author

Thanks! Great work!

@Gurbo
Copy link

Gurbo commented Jul 1, 2016

@jsnthan so how can you perform it in code?

@duyphan1206
Copy link

@Gurbo : Just add this code calendar.placeholderType = FSCalendarPlaceholderTypeNone;. It should worked.

@andr-ggn
Copy link

So, how to hide separator without hacks? :)

@nbyn
Copy link

nbyn commented Mar 20, 2017

Yes @duyphan1206 is correct.

You can hide the days not in current month like this in Swift 3:

calendar.placeholderType = .none

@singhal2
Copy link

Hi, how to decrease the number of rows in any month, I need 5. I am developing for Xamarin, hence got the package from nuget.

@MuruganandaMukesh
Copy link

MuruganandaMukesh commented Dec 18, 2017

I want to decrease the number of rows to 5. Help me with it. (iOS)

@singhal2
Copy link

I could not find the option :/

@MuruganandaMukesh
Copy link

Just curious to know how did you handle it, since you asked it 5 months back?

@singhal2
Copy link

Honestly, I didn't. I think its handled internally as in case of the following example, it would need 6 rows to show the whole month.

image

@MuruganandaMukesh
Copy link

Thanks for your opinion. In my case, It didn't. Partial available is fine. But it's completely disgusting if full row visible which is complete next month. Am just thinking how to solve this.

screen shot 2017-12-18 at 3 52 49 am

@Pratikthakaredefinelabs

showing mon at the place of sat in my weeks view

@mr-ahtazaz
Copy link

Hi, how to decrease the number of rows in any month, I need 5. I am developing for Xamarin, hence got the package from nuget.

Have you found any solution for this?

@mr-ahtazaz
Copy link

How to decrease the number of rows of month as i need 5 rows of every month for iOS

@Hardiktspaceo
Copy link

Hardiktspaceo commented Apr 29, 2019

Can we hide the placeholder dates if my calendar scope type is .week and set placeholderType set to .none ?

@Jayraj914
Copy link

@Hardiktspaceo yes you can.

calendar.placeholderType = .none

@Hardiktspaceo
Copy link

Hardiktspaceo commented Apr 30, 2019 via email

@sahilaks
Copy link

sahilaks commented Aug 8, 2019

@Hardiktspaceo Have you got any solution for your query
"Can we hide the placeholder dates if my calendar scope type is .week and set placeholderType set to .none ?"

@Hardiktspaceo
Copy link

Hardiktspaceo commented Aug 8, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

14 participants