문제점은 검색 창 (탐색기)에서 검색 옵션을 클릭 할 때 그리드가 숨김을 얻는 것입니다. 나는 jqmodal.js 파일을 포함하고있다. 하지만 아래의 코드에서 내가 무시하는 것은 무엇입니까?Jqgrid 검색 옵션이 격자 표를 숨 깁니다
CSS 파일 :
jqModal.css
JQuery와-UI-1.8.custom.css
ui.jqgrid.css
ui.multiselect.css
jquery.searchFilter.css
개 JS 파일 :
jquery.min.js
할 grid.base.js
grid.common.js
grid.formedit.js
grid.setcolumns. js
ui.multiselect.js
jquery.searchFilter.js
jqModal.js
자바 스크립트
:$("#list").jqGrid({
url: 'foo_report.php?g=' + $('#fooselect').val() +
'&report=1&searchString=null&searchField=null&searchOper=null',
datatype: 'json',
mtype: 'GET',
colNames:['foo1','foo2', 'foo3'],
colModel:[
{ name:'rows.foobar1', index: 'foobar1', search:true,
jsonmap: 'foobar1', width: 150, align: 'left', sortable:true},
{ name:'rows.foobar2', index: 'foobar2',
jsonmap: 'foobar2', width: 150, align: 'left'},
{ name:'rows.foobar3', index: 'foobar3',
jsonmap: 'foobar3', width: 240, align: 'left', sortable: true}],
pager: '#pager',
rowNum: 8,
autowidth: true,
rowList: [8, 16],
sortname: 'foobar1',
sortorder: 'asc',
viewrecords: true,
search : { caption: "Search...", Find: "Find", Reset: "Reset",
odata : ['equal', 'not equal', 'less'],
groupOps: [ { op: "AND", text: "all" },
{ op: "OR", text: "any" }],
matchText: " match",
rulesText: " rules" },
caption: 'Foobar Data',
jsonReader : { root: "rows",
repeatitems: false },
height: 350,
width: 800
});
HTML은 :
<table id="list"></table>
<div id="pager"></div>