给table上dep加的f7添加过滤

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

给table上dep加的f7添加过滤

var table= pluginCtx.getKDTable("kdtEntry");

var xmh = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();

xmh.setQueryInfo("com.kingdee.eas.basedata.master.auxacct.app.F7GeneralAsstActTypeQuery");

xmh.setEditable(true);

xmh.setDisplayFormat("$name$");

xmh.setEditFormat("$number$");

xmh.setCommitFormat("$number$");

var viewInfo = new com.kingdee.bos.metadata.entity.EntityViewInfo();

var filterInfo = new com.kingdee.bos.metadata.entity.FilterInfo();

filterInfo.getFilterItems().add(new com.kingdee.bos.metadata.entity.FilterItemInfo("isEnabled", "1", CompareType.EQUALS));

viewInfo.setFilter(filterInfo);

xmh.setEntityViewInfo(viewInfo);

table.getColumn("列名").setEditor(new com.kingdee.bos.ctrl.kdf.table.KDTDefaultCellEditor(xmh));

给table上dep加的f7添加过滤

var table= pluginCtx.getKDTable("kdtEntry");var xmh = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();xmh.setQueryI...
点击下载文档
分享:
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息