piotrzarzycki21 edited a comment on issue #472: labelFunction issue in 
AdvancedDataGrid (Test Case Attached) Formatting
URL: https://github.com/apache/royale-asjs/issues/472#issuecomment-548256791
 
 
   > Example : https://paste.apache.org/pdbn4
   > 
![labelfunction](https://user-images.githubusercontent.com/42200979/67929011-25fa8f80-fbde-11e9-8c20-52b102754d55.gif)
   
   @pashminakazi but your example itself is invalid - do you see that ? You are 
providing data source with strings:
   `new ArrayCollection(["24236482.324234", "23424.435","42344.23423"]);`
   
   and later you are trying to reach item with property `item.ci_Code` <- This 
property doesn't exists at all. Remove property item.ci_Code and it will work. 
   `fmtAmount.format(item);`
   
   Or provide proper data source:
   
   `new ArrayCollection([{ci_Code : "24236482.324234"}, {ci_Code 
:"23424.435"},{ci_Code :"42344.23423"}]);`
   
   To me issue is resolved. Function is launching properly and formatter was 
also fixed.

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


With regards,
Apache Git Services

Reply via email to