1007 设置datawindow弹出窗口用于复杂字段编

1:业务需求,某个字段的编辑过成需要通过复杂的逻辑才能得出编辑的结果(计算器,评分等)
2:设置tag
<popupeditorwithdw col4return="mdltitle" col4sqlwhere="sqlwhere" col4editordwo="editordwo" editorcol4return="tilebackgroundimage" title="测试"></popupeditorwithdw>
col4return:返回值填写的字段
col4sqlwhere:弹出的窗口中的dw(用于编辑的dw)retrieve的时候的where条件
col4editordwo:弹出的窗口中的dw(用于编辑的dw)的数据窗口对象(datawindowobject)
editorcol4return:用于返回值的字段
title:弹出窗口的标题
assemblyname:类所在assembly,空则=FXPRJ.T1500.CMN.Infrastructure.DWCore
typename:类名(实现接口:IFxDWItemPopupEditorWithDW),空则=FXPRJ.T1500.CMN.Infrastructure.DWCore.FxDWItemPopupEditorWithDWDefault
3:注意事项,
tabindex=0,受保护的列才能点击弹出,
如果列可编辑,则通过回车(设置回车不做tab跳转)弹出(不建议),
非列元素点击弹出

猜你喜欢

转载自www.cnblogs.com/dw2cs/p/10025563.html