Expand all events by default on SharePoint 2013 Calendars

Introduction

I’m very upset with current available configurations in SharePoint calendars. By design, SharePoint 2013 calendars only displays 3 events at maximum, and the others events are hidden behind “# more items” tag:

image

Code

The best approach I found was to call every more items element by querying all of them:

Notes

Some considerations in this code:

  • It is really important to call our JS function after SP.UI.ApplicationPages.Calendar.js, **otherwise it won’t have effect.

Final result

image

 

Author: José Quinto
Link: https://blog.josequinto.com/2014/12/01/expand-all-events-by-default-on-sharepoint-2013-calendars/
Copyright Notice: All articles in this blog are licensed under CC BY-SA 4.0 unless stating additionally.