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 insert/delete an event #24

Open
kentyap opened this issue Aug 3, 2015 · 2 comments
Open

How to insert/delete an event #24

kentyap opened this issue Aug 3, 2015 · 2 comments

Comments

@kentyap
Copy link

kentyap commented Aug 3, 2015

How to insert and delete an event into the calendar?

@twinssbc
Copy link
Owner

twinssbc commented Aug 5, 2015

@kentyap, this calendar is just a representation of the underlying data source.
Once the underlying data source is changed, the calendar will be updated.
You need to build your own implementation of inserting/deleting event, usually it requires to manipulate your backend database.

The calendar itself provides some event for you.
For example, when you select a date in the month view, it triggers the onTimeSelected event, you can add some logic to add the event for that date.
When you select an event, it triggers onEventSelected event, you can add some logic to update and delete the event.

Hope it helps. Thanks.

@niklas73
Copy link

Hello
Nice script, is it possible that you can show how to add a event..
How can i do to show weeks...

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

3 participants