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

Different background colours based on condition #462

Closed
BilalMH opened this issue Oct 8, 2018 · 2 comments
Closed

Different background colours based on condition #462

BilalMH opened this issue Oct 8, 2018 · 2 comments

Comments

@BilalMH
Copy link

BilalMH commented Oct 8, 2018

Is it possible to decorate each cell based on a condition I have? i.e. one day have the background of a cell purple and the other day black?

@edenman
Copy link
Collaborator

edenman commented Oct 8, 2018

You can implement a CalendarCellDecorator or if you need even more control, DayViewAdapter.

@edenman edenman closed this as completed Oct 8, 2018
@BilalMH
Copy link
Author

BilalMH commented Oct 8, 2018

Thanks @edenman , but I'm unsure how to use the CalendarCellDecorator, can you give me an example of how it's used?

Thanks

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

2 participants