Reigel Gallarde
Reigel Gallarde

Reputation: 65264

jQuery week calendar plugin

I have search the net and found nothing. Maybe someone here might have used something that google can't give me.

I wanted to use a week calendar. I am using this and have many difficulty in it. One is when my date and time are the same, they overlap in one another and only the one at the top can be clicked. I have tried to hack the codes but it feels like forever.

Any jQuery week calendar you can suggest?

Upvotes: 6

Views: 17711

Answers (2)

Janaina Scal
Janaina Scal

Reputation: 1

$('#calendar').weekCalendar({
    timeslotsPerHour: 6, 
    // START SPLIT COLUMN
    allowCalEventOverlap: true, // Enable conflicting events
    overlapEventsSeparate: true, // Separate conflicting events
    // END SPLIT COLUMN
    daysToShow: 6, // Number of days to show initially
    switchDisplay: { '1 day': 1,  '3 next days': 3, 'work week': 5, 'full week': 6}, // Selector for number of days to be shown
    firstDayOfWeek : 1, // Sets the beginning of the week as Monday
    businessHours :{start: 7, end: 23, limitDisplay: true}, // Limits the time shown
    data: {
    events: eventData
    }
});

The section marked as "split column" enables the split column and shows both conflicting events.

Upvotes: 0

Bostone
Bostone

Reputation: 37126

Look at this list of jQuery-based calendars. I had good experience with Datepicker which is highly customizable. Many of these can be customized to "week-view"

Upvotes: 5

Related Questions