"+ Add" button in fullcalendar in SharePoint 2016 page

Michael 31 Reputation points
2020-08-06T15:59:50.897+00:00

Hi experts,

I'm using fullcalendar plugin to create a customized calendar because the built-in SharePoint calendar view does not meet several requirement. However, in the built-in calendar, I see there's a "+ Add" button when I hove over on a cell (refer to the circled part in below screenshot)

16040-image001.png

And when I click on this button, the form to add new event at specified time pops up.

16129-image002.png

So my question is how to add this feature in fullcalendar?

Thanks,
Michael

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,590 questions
0 comments No comments
{count} votes

Accepted answer
  1. Amos Wu-MSFT 4,051 Reputation points
    2020-08-07T02:13:28.097+00:00

    Because fullcalendar is a three-party library, I suggest you go to the library’s GitHub to ask how to add a ‘+ Add’ button to this control.
    After you have added the button,you could use SP.UI.ModalDialog.showModalDialog() to create a dialog to add a new item.
    SP.UI.ModalDialog.showModalDialog() document for your reference:https://learn.microsoft.com/en-us/previous-versions/office/developer/sharepoint-2010/ff410058(v=office.14)


0 additional answers

Sort by: Most helpful