/**
* 自定义树形 F7 的设置显示成左树右表的样式
*
* @param arr
* @return
*/
this.prmtcustomer.setQueryInfo("com.kingdee.eas.custom.broiler.brdrraise.custombrdrraise.app.CustomRelationF7Query");
this.prmtcustomer.setVisible(true);
this.prmtcustomer.setEditable(true);
this.prmtcustomer.setDisplayFormat("$name$");
this.prmtcustomer.setEditFormat("$number$");
this.prmtcustomer.setCommitFormat("$number$");
this.prmtcustomer.setRequired(true);
prmtcustomer.addSelectorListener(new SelectorListener() {
com.kingdee.eas.custom.broiler.brdrraise.custombrdrraise.client.CustomRelationListUI prmtcustomer_F7ListUI = null;
public void willShow(SelectorEvent e) {
if (prmtcustomer_F7ListUI == null) {
try {
prmtcustomer_F7ListUI = new com.kingdee.eas.custom.broiler.brdrraise.custombrdrraise.client.CustomRelationListUI();
} catch (Exception e1) {
e1.printStackTrace();
}
HashMap ctx = new HashMap();
ctx.put("bizUIOwner",javax.swing.SwingUtilities.getWindowAncestor(prmtcustomer_F7ListUI));
prmtcustomer_F7ListUI.setF7Use(true,ctx);
prmtcustomer.setSelector(prmtcustomer_F7ListUI);
}
}
});
自定义树形 F7 的设置显示成左树右表的样式
最新推荐文章于 2023-11-26 16:09:25 发布