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


CallingSetupFunction Called SetupList.fn_FormatProductGrid


SetupList.fn_FormatProductGrid Called dbzUtil.formatInputVal
dbzUtil.formatInputVal returns

Product Code

----------------------------------------------------------------
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]