jqGrid的搜索框下拉

http://www.cnblogs.com/linguoguo/p/4076279.html


   
{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:厚街仓库"}
                }

猜你喜欢

转载自panyongzheng.iteye.com/blog/2303249
今日推荐