0
我想在php中集成bryntum組件(schedule)。在ext js中我不太清楚。 請參閱圖像herebryntum組件集成
這裏,名稱字段正在提取,而Capacity無法訪問。這些值來自Zoho CRM。 我的代碼與Click相似,而r-read.php文件是用於從CRM獲取記錄並將其存儲爲json格式的負責文件。這就像
{
"success": true,
"total": 9,
"root": [{
"Id": 1,
"Name": "Sri Test",
"Capicity": "190.0"
}, {
"Id": 2,
"Name": "tester_test01",
"Capicity": "500.0"
}, {
"Id": 3,
"Name": "Tesing room 23",
"Capicity": "5000.0"
}, {
"Id": 4,
"Name": "Test for 6th product",
"Capicity": "5000.0"
}, {
"Id": 5,
"Name": "Banquet hall test-01",
"Capicity": "500.0"
}, {
"Id": 6,
"Name": "test room",
"Capicity": "1000.0"
}, {
"Id": 7,
"Name": "Grande Ballroom",
"Capicity": "4000.0"
}, {
"Id": 8,
"Name": "Cedar Room",
"Capicity": "1400.0"
}, {
"Id": 9,
"Name": "Maple Room",
"Capicity": "1200.0"
}]
}
在容量列中,它會顯示像190.0,500.0,5000.0等像名稱列。
請讓我知道它是否清除給你。 請幫幫我。
在此先感謝。
但我不明白如何定義容量?你可以幫我嗎? – Srimanta 2013-02-27 09:30:46
你能告訴我你的'Sch.model.Resource'模型嗎? – 2013-02-27 09:31:31
首先,我沒有修改除App.js和PHPScheduler.js文件之外的任何內容。 即使我不瞭解這個ext js的流程。所以我不明白如何顯示Sch.model.Resource模型。 – Srimanta 2013-02-27 09:40:06