jQuery Grid

Set the altrows property of the jqxGrid. Author: http://jqwidgets.com

HTML

<script src="https://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<link rel="stylesheet" href="https://jqwidgets.com/public/jqwidgets/styles/jqx.energyblue.css">
<div id="scheduler"></div>

JavaScript

var appointments = new Array();

    var appointment1 = {
        id: "id1",
        description: "George brings projector for presentations.",
        location: "",
        subject: "Fashion Expo",
        calendar: "East Coast Events",
        start: new Date(2015, 10, 15, 9, 0, 0),
        end: new Date(2015, 10, 18, 16, 0, 0)
    }

    var appointment2 = {
        id: "id2",
        description: "",
        location: "",
        subject: "Cloud Data Expo",
        calendar: "Middle West Events",
        start: new Date(2015, 10, 20, 10, 0, 0),
        end: new Date(2015, 10, 22, 15, 0, 0)
    }

    var appointment3 = {
        id: "id3",
        description: "",
        location: "",
        subject: "Digital Media Conference",
        calendar: "West Coast Events",
        start: new Date(2015, 10, 23, 11, 0, 0),
        end: new Date(2015, 10, 28, 13, 0, 0)
    }

    var appointment4 = {
        id: "id4",
        description: "",
        location: "",
        subject: "Modern Software Development Conference",
        calendar: "West Coast Events",
        start: new Date(2015, 10, 10, 16, 0, 0),
        end: new Date(2015, 10, 12, 18, 0, 0)
    }

    var appointment5 = {
        id: "id5",
        description: "",
        location: "",
        subject: "Marketing Future Expo",
        calendar: "Middle West Events",
        start: new Date(2015, 10, 5, 15, 0, 0),
        end: new Date(2015, 10, 6, 17, 0, 0)
    }

    var appointment6 = {
        id: "id6",
        description: "",
        location: "",
        subject: "Future Computing",
        calendar: "East Coast Events",
        start: new Date(2015, 10, 13, 14, 0, 0),
        end: new Date(2015, 10, 20, 16, 0, 0)
    }
    appointments.push(appointment1);
    appointments.push(appointment2);
    appointments.push(appointment3);
    appointments.push(appointment4);
    appointments.push(appointment5);
    appointments.push(appointment6);


    // prepare the data
    var source =
    {
       ...