Kendo Test

by valchev

HTML

<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.common.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.default.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.dataviz.min.css">
<link rel="stylesheet" href="http://cdn.kendostatic.com/2012.3.1114/styles/kendo.mobile.all.min.css">
<script src="http://cdn.kendostatic.com/2012.3.1114/js/kendo.all.min.js"></script>
<div id="grid"></div>

JavaScript

var models = {};
models.ticket = {
    "ClosedByContact": null,
    "CalDateOpenDate": null,
    "calDateEstimatedEndDate": null,
    "calDateActualEndDate": null,
    "calDateDueDate": null,
    "calDateNextActionDate": null,
    "THQObject": {
        "THQObjectAssets": [],
        "THQObjectRequests": [],
        "THQObjectRosters": [{
            "Contact": {
                "id": 92,
                "objtype": 5,
                "engine": 0,
                "THQCustomerNumber": 1268,
                "CustomerNumber": "080620170937180",
                "firstName": "Daniel",
                "lastName": "Thomas",
                "emailAddress": "[email protected]",
            },
            "THQObjectId": 17510,
            "contactId": 92,
            "fixedCost": 0,
            "variableCost": 0,
            "billingRate": 0,
            "roleId": 3,
            "typeId": 1,
            "percentAssigned": 0,
            "state": 1,
            "primary": false
        },
        {
            "Contact": {
                "id": 95,
                "objtype": 5,
                "engine": 0,
                "THQCustomerNumber": 1238,
                "CustomerNumber": "080127033812767",
                "firstName": "Mark",
                "lastName": "Donais",
                "emailAddress": "[email protected]",
            },
            "THQObjectId": 17510,
            "contactId": 95,
            "fixedCost": 0,
            "variableCost": 0,
            "billingRate": 0,
            "roleId": 3,
            "typeId": 1,
            "percentAssigned": 0,
            "state": 1,
            "primary": true
        }],
        "id": 17510,
        "objname": "Laptop needs more RAM",
    },
    "id": 17510,
    "comment": "I've added software that needs more RAM",
    "workProductId": 10,
    "workLocationId": 6,
    "workTypeId": 8,
    "priorityId": 2,
    "resolution": null,
    "hoursToCompletion": null,
    "openDate":...