liju1985 commented on issue #861:
URL: https://github.com/apache/royale-asjs/issues/861#issuecomment-644784051


   This helped a lot. Can you help on Substitute of SortField in ArrayList
   Below is the code which is available. I changed ArrayCollection to 
ArrayList. But im not able to assign the Sort Object to a arrayList
   private function sortAccountListBy(accountList:ArrayCollection, 
sortBy:String):void {
                        if(accountList.length <= 1)
                                return;
                        
                        var sort:Sort = new Sort();                             
                        sort.fields = [new SortField("label"+sortBy,true)];
                        accountList.sort = sort;
                        accountList.refresh();
                }


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