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

Live Editable Calendar and saving the changes to a file #23

Open
ekianjo opened this issue Mar 27, 2022 · 1 comment
Open

Live Editable Calendar and saving the changes to a file #23

ekianjo opened this issue Mar 27, 2022 · 1 comment

Comments

@ekianjo
Copy link

ekianjo commented Mar 27, 2022

Hi, thanks a lot for this very useful package -
I'm trying to see if it's possible to edit the calendar in a shiny app to add entries directly by clicking on a date, and it works front-end wise with:

calendar(cal_demo_data(), navigation = TRUE,useCreationPopup = T,isReadOnly = F)

but after entering a new event the calendar does not reflect the changes. Is there a way to "update" the calendar data live after doing a new entry? If yes, could you add such an example in the reference?

Thanks!

@pvictor
Copy link
Member

pvictor commented Apr 4, 2022

Yes that's possible, updating the calendar needs to be done server-side, here's an example: https://github.com/dreamRs/toastui/blob/master/inst/examples/calendar-edit-schedules.R

Victor

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