O2Selector 组件使用
管理员好!通过以下代码弹出角色数据框,如何在opt中添加过滤条件呢?希望解答一下var selectorView;
var opt = {
"types": ["role"],
"count": 0,
"title": "",
"onComplete": function (items) {
}.bind(this));
}.bind(this)
};
o2.xDesktop.requireApp("Selector", "package", function(){
selectorView = new o2.O2Selector(this.form.getApp().node, opt);
}.bind(this), false);
比如打开时默认过滤名称包含F的数据
现有的是不支持过滤的,只能通过重写人员选择框的方式去实现 论坛管理员 发表于 2022-10-20 09:50
现有的是不支持过滤的,只能通过重写人员选择框的方式去实现
好的,谢谢 :handshake
页:
[1]