我正在使用jqGrid 4.5.1。當我使用datepicker
控件時,colmodel
中指定的格式僅適用於編輯。jqgrid與日期選擇器控件的錯誤
當我選擇一個日期並添加一行時,它會在網格中顯示一個隨機數作爲日期(例如,如果我從datepicker
選擇2013-08-28
則顯示2194-09-08
)。
注意編輯工作,但只添加新行有這個問題。
當我們使用舊版本的jqGrid(3.8.2)時,也不會發生這種情況。我沒有嘗試,但我引用舊的jqGrid庫從本網站 http://www.ok-soft-gmbh.com/jqGrid/LocalFormEditing.htm
我認爲這是在最新版中的錯誤。那我包括的文件有:
jquery 1.9.1
jqueryUI 1.10.3
grid.locale-en.js
jquery.jqgrid.js
我認爲這是jqGrid的不使用jQuery的最新版本正常工作的錯誤。
有沒有人試過jqGrid與datepicker
與最新的jQuery,jqGrid和jQuery UI庫?
感謝。