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


   i have created a local function :
   ```
   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" is replaced with  
labelFunction="CallingSetupFunction" 
   setuplist.fn_FormatProductGrid is called from local function but it doesn't 
work as it should work as a labelfunction
   
   and if i call SetupList.fn_FormatProductGrid directly from labelfunction 
then this exception occurs
   
![image](https://user-images.githubusercontent.com/42200979/80962614-c4cea580-8e26-11ea-9228-d4a13e85e09b.png)
   
   
![image](https://user-images.githubusercontent.com/42200979/80962625-cac48680-8e26-11ea-8b64-fbcf8af7a6d9.png)
   
   
![image](https://user-images.githubusercontent.com/42200979/80962634-d021d100-8e26-11ea-9c80-8957c5eb940e.png)
   
   
   Why this.Setuplist is undefined when i am calling 
this.SetupList.fn_FormatProductGrid as labelfunction ?


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