1. 程式人生 > >1007 設定datawindow彈出視窗用於複雜欄位編

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跳轉)彈出(不建議),
非列元素點選彈出