一、参照选择多条数据后,表体数据出现多条
1. 将参照设置为多选
import nc.ui.pub.beans.UIRefPane;
UIRefPane refPane = (UIRefPane) cardPanel.getBodyItem(tablecode, key).getComponent();
refPane.setMultiSelectedEnabled(true);
2. 实现多选
nc.ui.pubapp.uif2app.view.util.RefMoreSelectedUtils
RefMoreSelectedUtils utils = new RefMoreSelectedUtils(cardPanel);
utils.refMoreSelected(event.getRow(), key, true);
主子表用:RefMoreSelectedUtils
单表用:RefMoreSelectedForBillTable
二、参照选择后,对值拼接