0
我已經建立了我的jqGrid如下:jqGrid的搜索窗口沒有出現
$(function() {
$('#POesGrid').jqGrid({
caption: '',
colNames: ['POID', 'PO Number', 'Revision', 'Date Created', 'Date PO Approved', 'Supplier',
'Status', 'Ship To', 'Payment', '', '', ''],
colModel: [
{ name: 'POID', hidden: true, key: true },
{ name: 'PONumber', index: 'PONumber', search:true, searchtype:'number' },
{ name: 'PORevision', index: 'PORevision', search: true },
{ name: 'DateOfCreated', index: 'DateOfCreated', search: true },
{ name: 'DateOfApproved', index: 'DateOfApproved', search: true },
{ name: 'AdrBookSuplierPO', index: 'AdrBookSuplierPO.LastName', search: true },
{ name: 'StatusPO', index: 'StatusPO.StatusTitle', search: true },
{ name: 'ShipTo', index: 'ShipTo.LastName', search: true },
{ name: 'Payment', sortable: false },
{ name: 'EditAction', sortable: false, classes: 'edit', width:25 },
{ name: 'DetailAction', sortable: false, classes: 'view', width: 25 },
{ name: 'DeleteAction', sortable: false, classes: 'delete', width: 25 },
],
pager: '#POesGridPager',
rowNum: paramFromView.PageSize,
rowList: [10, 50, 100],
datatype: 'json',
height: '100%',
sortname: 'PONumber',
sortorder: "desc",
viewrecords: true,
mtype: 'GET',
jsonReader: {
root: "rows",
page: "page",
total: "total",
records: "records",
repeatitems: false,
userdata: "userdata"
},
url: paramFromView.Url
}).navGrid('#POesGridPager', { del: false, add: false, edit: false},
{},
{},
{},
{ multipleSearch: true });
});
當我點擊搜索按鈕,整個頁面獲得殘疾人(出現在搜索屏幕時通常發生的),但搜索屏幕不會出現。
你能讓我知道我在這裏失蹤了嗎?
我的JQGrid版本是4.6.0。