Kendo UI Gantt サンプルのデータソースを PHP 内で切り替えてみました。スキーマを返されたものにマップしましたが、「未定義」という 1 つの見出しが付いた空白のガント チャートしか表示されません。
{
"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"
}
}
上記は Kendo に送り返される JSON ですが、レンダリングされません。