通過按鈕打開window,顯示出相關設定的欄位提供用戶參考選擇,同時可以帶回關聯欄位。該功能class為info-refval
用例
黃色為RefVal的infolight-options屬性。
| 
   <input id="dataFormMasterCustomerID" name="CustomerID" type="text" class="info-refval" data-options="required:'required'" infolight-options="field:'CustomerID',form:'dataFormMaster',title:'JQRefval',panelWidth:300,remoteName:'sOrders.cmdCustomers',tableName:'cmdCustomers',columns:[{field:'CustomerID',title:'客戶編號',width:80,align:'left'},{field:'CompanyName',title:'公司編號',width:150,align:'left'},{field:'City',title:'城市',width:80,align:'left'},{field:'Country',title:'國家',width:80,align:'left'}],columnMatches:[{field:'ShipCountry',value:'Country'}],valueField:'CustomerID',textField:'CompanyName',valueFieldCaption:'客戶編號',textFieldCaption:'公司編號'" maxlength="5" style="width:120px" />  | 
 
infolight-options
| 
   名稱  | 
  
   功能描述  | 
 
| 
   title  | 
  
   顯示窗口的標題  | 
 
| 
   panelWidth  | 
  
   顯示窗口的寬度  | 
 
| 
   valueField  | 
  
   保存資料值欄位   | 
 
| 
   textField  | 
  
   顯示資料欄位  | 
 
| 
   valueFieldCaption  | 
  
   在columns沒有設定的情況下,用於作爲顯示的Grid中的保存資料欄位的標題  | 
 
| 
   textFieldCaption  | 
  
   在columns沒有設定的情況下,用於作爲顯示的Grid中的保存顯示資料欄位的標題  | 
 
| 
   remoteName  | 
  
   設定連接的Server端以及對應取資料的InfoCommand。格式:server專案名稱.連接的InfoCommand的ID  | 
 
| 
   tableName  | 
  
   設定實際連接的InfoCommand的名稱  | 
 
| 
   columns  | 
  
   設定在Grid中顯示的欄位,該屬性可以不設定  | 
 
| 
   columnMatchs  | 
  
   用於設定關聯欄位帶入的功能  | 
 
| 
   onSelect  | 
  
   資料選中時,可執行的js方法,輸入值為方法名稱  |