2 Replies Latest reply: May 2, 2013 3:57 PM by MikeInSD RSS

    SkillBuilders Calendar

    sky123
      Hi,

      Does anyone know how to set the defaultView to agendaView in this calendar by default?

      http://apex-plugin.com/oracle-apex-plugins/region-plugin/skillbuilders-calendar_94.html

      Thanks.
        • 1. Re: SkillBuilders Calendar
          dmcghan
          Hi Sky123,

          I hope to add the default view as a setting in a future version, I just don't know when I'll be able to do that.

          As a work around for now, do the following:
          1. Give your region a static id
          2. Add the following code to the JavaScript - Execute When Page Loads section of the page:

          $('#' + 'YOUR_STATIC_ID_HERE' + '_FULL_CALENDAR').fullCalendar('changeView', 'YOUR_DEFAULT_VIEW_HERE');

          Replace the static ID and the default view with the correct values. Valid views include: month, basicWeek, basicDay, agendaWeek, and agendaDay. For more details, see http://arshaw.com/fullcalendar/docs/views/Available_Views/

          Regards,
          Dan

          blog: http://DanielMcghan.us/
          work: http://SkillBuilders.com/APEX/
          twitter: https://twitter.com/dmcghan
          • 2. Re: SkillBuilders Calendar
            MikeInSD
            I needed to be able to move the calendar to a 'Default' date based on data entered by the user. I was able to slightly modify your workaround to get this to work.

            $('#calendar_FULL_CALENDAR').fullCalendar('gotoDate', &P18_GOTO_DT.);

            Thanks.

            Mike
            using v4.2