1
A
回答
1
如果使用dhtmlxScheduler爲.NET(隨DHTMLX.dll)控件必須添加到C#中,而不是JavaScript。 有幾類收藏的控制,如果你有調度的試用包可以使用它們很容易
var scheduler = new DHXScheduler(this);
var select = new LightboxSelect("type", "Type");
select.AddOptions(new List<object>{
new { key = 1, label = "Job" },
new { key = 2, label = "Family" },
new { key = 3, label = "Other" }
});
scheduler.Lightbox.Add(select);
這裏是整個文檔http://scheduler-net.com/docs/lightbox.html ,檢查Samplese/Scheduler.MVC3 /控制器/ AddRangeController。 CS,有一個使用的例子。
如果期運用客戶端組件,下面是相關文檔 http://docs.dhtmlx.com/scheduler/lightbox_editors.html
修改源代碼文件是不推薦,因爲它會導致問題與更新的組件的新版本。
僅供參考,我爲DHTMLX工作
0
我發現這個解決方案: 修改文件dhtmlxscheduler.js
我的意思是section
領域:
lightbox: {
sections: [
{ name: "description", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Note", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Status", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Type", height: 40, map_to: "text", type: "textarea", focus: true },
{ name: "Sequence", height: 40, map_to: "text", type: "textarea", focus: true },
{name: "time", height: 72, type: "time", map_to: "auto"}
]
},
和
labels:{
dhx_cal_today_button:"Today",
day_tab:"Day",
week_tab:"Week",
month_tab:"Month",
new_event:"Nouvelle Tache",
icon_save:"Save",
icon_cancel:"Cancel",
icon_details:"Details",
icon_edit:"Edit",
icon_delete:"Delete",
confirm_closing:"",//Your changes will be lost, are your sure ?
confirm_deleting:"Event will be deleted permanently, are you sure?",
section_description: "Description",
section_Note: "Note",
section_Status: "Status",
section_Type: "Type",
section_Sequence: "Sequence",
section_time:"Periode",
相關問題
- 1. 加入多個領域一個領域
- 2. 添加一個新的領域一類是序列化
- 3. 添加一個新的領域的sympy符號變量
- 4. 添加一個新的領域,以我的對象
- 5. 編輯Rails的腳手架類添加一個新的領域
- 6. 添加一個新的領域到Rails模型
- 7. 添加一個新的領域會導致錯誤
- 8. 添加新的文件上傳領域
- 9. 添加新的產品領域Prestashop 1.5
- 10. 排序在一個新的領域
- 11. SQL:添加新行,但改變一個領域
- 12. 添加新對象到關係領域
- 13. 的Rails的Neo4j如何在現有的數據庫中添加新的領域
- 14. 在一個領域
- 15. 更新領域數據庫
- 16. 如何multipy一個領域,一個新創建的領域之間的數字
- 17. 加入多個領域的一個表
- 18. 添加不確定的領域MongoDB中
- 19. 添加逗號領域
- 20. SQL語句添加到各個領域
- 21. 加密領域數據庫
- 22. 獲得另外一個領域的領域中的領域的價值
- 23. 如何在我的數據庫新領域添加到現有的文檔
- 24. 的新領域
- 25. 添加一個自動遞增領域到MySQL在PHP
- 26. 的NodeJS,PassportJS:添加另一個領域的認證
- 27. 無法Solr中添加新的動態領域6.0
- 28. 鏈接一個領域到另一個領域與htaccess的
- 29. 連接多個領域成一個單一的領域marklogic
- 30. 帆API - 如何避免爲每一個新領域創造新的過濾器添加到數據庫