onHidePanel: function () {
var _temp_SelectRow = $(this).combogrid('grid').datagrid('getSelected');
var Combgrid_SelectValue = $(this).combogrid('getValue');
if (!_temp_SelectRow || Combgrid_SelectValue != _temp_SelectRow.databaseID) {//没有选择或者选项不相等时清除内容
$(this).combogrid('setValue', '');
}
}
easyUI中combogrid没有limitToList方法,通过以下方法来限制输入框的内容
猜你喜欢
转载自blog.csdn.net/qq_21860997/article/details/85318087
今日推荐
周排行