React-big-calendar: Disable allDay events

Created on 30 Jul 2019  路  2Comments  路  Source: jquense/react-big-calendar

How can I disable allDay events so that I will not see the first cells on the ui?
I did not found it on the docs nor in other issues.

Thanks

Most helpful comment

For now, the only available option is to use css for that

.rbc-allday-cell {
   display: none;
}

And as far as I remember there were discussions to create an option for this which IMO would be useful. I've personally had to in 2 different projects hide it using css what isn't the most elegant way

All 2 comments

For now, the only available option is to use css for that

.rbc-allday-cell {
   display: none;
}

And as far as I remember there were discussions to create an option for this which IMO would be useful. I've personally had to in 2 different projects hide it using css what isn't the most elegant way

Thanks @michalak111, for now it will do just fine

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jgautsch picture jgautsch  路  3Comments

ZacharyLangley picture ZacharyLangley  路  3Comments

dogC76 picture dogC76  路  4Comments

mathieusanchez picture mathieusanchez  路  4Comments

npalansky picture npalansky  路  3Comments