easyui combobox filter 在iphone 6,7,8不能搜索
var productAllList = new Array();
$.ajax({
url: '', // 跳转到 action
type: 'post',
dataType: 'json',
async : false,
success: function(data) {
if(data.length>0){
productAllList = data;
}
},
error : function(err) {
$.alert("用户登录超时,请关闭系统重新进入!");
}
});
$('#detailProductId' ).combobox({
data: productAllList,
filter: function(q, row){
var opts = $(this).combobox('options');
return row[opts.textField].indexOf(q) > -1;
},
valueField:'fItemID',
textField:'fName',
panelHeight:'auto',
panelMaxHeight:'100px'
});