jqGrid的搜索框下拉
http://www.cnblogs.com/linguoguo/p/4076279.html
1 2 3 4 5 6 7 8 9 10 11 |
Js代码 {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:厚街仓库"} } |