Click here to Skip to main content
15,894,230 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi everyone,

How to change fullcalendar layour from Vertical to horizontal.

E.G
Current it display as follows

6am -------
7am-------
8am------

what I want to archieve

6am|7am|8am





Thanks

What I have tried:

$('#calendar').fullCalendar({
         header: {
             left: 'prev,next today',
             center: 'title',
             right: 'month,agendaWeek,agendaDay'
         },
         defaultView: 'agendaDay',
         editable: true,
         allDaySlot: false,
         selectable: true,
         slotMinutes: 15,
         events: '/Home/GetDiaryEvents/',
         eventClick: function (calEvent, jsEvent, view) {
             alert('You clicked on event id: ' + calEvent.id
                 + "\nSpecial ID: " + calEvent.someKey
                 + "\nAnd the title is: " + calEvent.title);

         },
Posted
Updated 23-May-17 4:58am
Comments
Richard Deeming 25-May-17 16:14pm    
I don't think that's supported in the free version. It sounds like you're looking for the Scheduler control, which is linked from the main FullCalendar site[^]; but it's a commercial component.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900