Fscalendar: How to hide days not in current month?

Created on 21 Dec 2015  Â·  22Comments  Â·  Source: WenchaoD/FSCalendar

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.

Most helpful comment

Yes @duyphan1206 is correct.

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

calendar.placeholderType = .none

All 22 comments

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

@WenchaoIOS Thanks!

Finished.Thanks

Thanks! Great work!

@jsnthan so how can you perform it in code?

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

So, how to hide separator without hacks? :)

Yes @duyphan1206 is correct.

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

calendar.placeholderType = .none

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.

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

I could not find the option :/

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

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

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

showing mon at the place of sat in my weeks view

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?

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

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

@Hardiktspaceo yes you can.

calendar.placeholderType = .none

Hi WenchaoD,

This above solution working fine calendar scope is .month, but in my case
i use* .week by default* at that time this calendar.placeholderType =
.none
is not working.

On Tue, Apr 30, 2019 at 11:57 AM Jayraj914 notifications@github.com wrote:

@Hardiktspaceo https://github.com/Hardiktspaceo yes you can.

calendar.placeholderType = .none

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WenchaoD/FSCalendar/issues/168#issuecomment-487833660,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGATXY4PYFPUPHUOWFVLIR3PS7RFTANCNFSM4BXEFH7A
.

@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 ?"

No we can't.

On Thu, Aug 8, 2019 at 12:10 PM Sahil notifications@github.com wrote:

@Hardiktspaceo https://github.com/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 ?"

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/WenchaoD/FSCalendar/issues/168?email_source=notifications&email_token=AGATXY5UKHQF5TC4E5TVMRTQDO5W5A5CNFSM4BXEFH7KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD32TZJQ#issuecomment-519388326,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGATXY4SN346GZGXE3NPOTDQDO5W5ANCNFSM4BXEFH7A
.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KushThakkar picture KushThakkar  Â·  6Comments

csimmons0 picture csimmons0  Â·  4Comments

kunass2 picture kunass2  Â·  4Comments

StanleySathler picture StanleySathler  Â·  5Comments

garudaonekh picture garudaonekh  Â·  4Comments