pashminakazi commented on issue #715:
URL: https://github.com/apache/royale-asjs/issues/715#issuecomment-644589214


   In **dbzSetupList**
   ```
   public function fn_FormatProductGrid( item:Object, 
column:AdvancedDataGridColumn):String {
       if (item[column.dataField] == null)
        return item[column.dataField];
       else
           return dbzUtil.formatInputVal(item[column.dataField], 
arrProductFormat[1], arrProductFormat[0],arrProductFormat[2]); 
   }
   ```
   In `dbzFacilityMaster`
   ```
   public function CallingSetupFunction(item:Object, 
column:AdvancedDataGridColumn):void {
         SetupList.fn_FormatProductGrid(item,column);
   }
   ```
   `<mx:AdvancedDataGridColumn dataField="setupDetailColumn3" 
headerText="Product Code" width="165" labelFunction="CallingSetupFunction"/>  `
    
   labelFunction="SetupList.fn_FormatProductGrid" replaced with 
labelFunction="CallingSetupFunction" as a royale workaround
   
   CallingSetupFunction Called
   
![image](https://user-images.githubusercontent.com/42200979/84744698-04171700-afcd-11ea-81ab-9a16b8360abb.png)
   
![image](https://user-images.githubusercontent.com/42200979/84744745-12653300-afcd-11ea-91dc-e43c4b1caf1a.png)
   
   CallingSetupFunction Called SetupList.fn_FormatProductGrid
   
![image](https://user-images.githubusercontent.com/42200979/84744811-24df6c80-afcd-11ea-864c-8e0824dacf5c.png)
   
![image](https://user-images.githubusercontent.com/42200979/84744928-4f312a00-afcd-11ea-84ca-82667d66748d.png)
   
   SetupList.fn_FormatProductGrid Called dbzUtil.formatInputVal
   
    dbzUtil.formatInputVal returns
   
![image](https://user-images.githubusercontent.com/42200979/84745056-74be3380-afcd-11ea-88d7-0dc27d0604ac.png)
   
   
   Product Code
   
![image](https://user-images.githubusercontent.com/42200979/84745264-c5359100-afcd-11ea-875b-ae037aa99de6.png)
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to