1
我是jqgrid的新手,我不知道jqgrid是如何工作的。 我在我的网格中有一个搜索图标,但当我想要过滤一些数据时它不起作用。 下面我后我的网格:jqGrid搜索不起作用
jQuery("#list").jqGrid({
url:'dounfinish.php',
datatype: 'json',
mtype: 'POST',
colNames:['id','Date', 'Line'],
colModel :[
{name:'def_id',index:'def_id', hidden:true, width:55},
{name:'Problem_date', index:'Problem_date', width:90, editable:true},
{name:'Line', index:'Line', width:80, align:'right', editable:true, search:true},
],
pager: jQuery('#pager'),
rowNum:10,
rowList:[10,20,30],
sortname: 'Problem_date',
sortorder: "desc",
viewrecords: true,
imgpath: 'themes/basic/images',
caption: 'OQC DEFECT DATA'
});
jQuery("#list").jqGrid('navGrid','#pager',{edit:true,add:false,del:false});
我应该怎么改变,使搜索过程的工作?
指我的网格如何更改'dataInit'? – nunu 2011-05-27 03:35:56
你看过维基? – 2011-05-27 03:51:31
是的,我did.but仍然混淆如何实施到我的网格。在维基中没有图片。 – nunu 2011-05-27 04:04:03