{name: 'wareId', index: 'wareId', width: 150,
formatter: function (cellvalue, options, rowObject) {
return rowObject.wareName;
},
inputtype:"select",
searchoptions: {dataInit:function(elem){
alert("searchoptions");
//这里要实现一些操作,自己需要的时候
}, attr:{title:'Select Date'}, sopt:['cn', 'nc', 'in', 'ni'],value:"2:广州仓库;1:厚街仓库"}
}
标签:function,searchoptions,jqGrid,仓库,搜索,rowObject,框下,wareId
From: https://blog.51cto.com/u_3871599/6411135