$(ed.target).combogrid({
onChange: function (newValue, oldValue) {
artChanged = true;//记录是否有改变(当手动输入时发生)
console.log("值已发生改变:" + newValue);
},
keyHandler: {
up: function () { },
down: function () { },
enter: function () { },
query: function (q) {
//动态搜索
console.log("搜索关键词是:"+q);
$(this).combogrid("grid").datagrid("reload",{'q': q});
$(this).combogrid("setValue", q);
}
},
});
easyui 下拉搜索
最新推荐文章于 2024-04-08 17:39:55 发布