0
我試圖在PHP中切換Kendo UI甘特例子的數據源。我已經將模式與返回的內容進行了映射,但我只是得到一個空白的甘特圖,其中有一個標題 - 「未定義」。Kendo UI甘特圖不處理JSON
{
"1": {
"id": "1",
"orderId": "1",
"title": "TESTER1",
"start": "\/new Date('2016-01-01 09:00:00')\/",
"end": "\/new Date('2016-02-01 00:00:00')\/",
"project": "1",
"client": "4218",
"parent": "0",
"percentComplete": "10.11"
},
"2": {
"id": "2",
"orderId": "2",
"title": "TESTER2",
"start": "\/new Date('2016-01-03 09:00:00')\/",
"end": "\/new Date('2016-02-01 00:00:00')\/",
"project": "1",
"client": "4218",
"parent": "0",
"percentComplete": "50.00"
}
}
以上是將JSON發送回Kendo,但它不呈現。