royale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [royale-asjs] yishayw commented on issue #861: Migration of Adobe Flex to Apache Royale - Support needed
Date Wed, 08 Jul 2020 16:17:24 GMT

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


   > The collection property is an ICollectionView. It has not been emulated in ComboBox
but it should be possible to do so. Maybe @yishayw can help do that.
   
   @liju1985 , I could do that if necessary. However, until one of us gets to it, you could
just replace references to collection with dataProvider and cast it to the expected type.
For example, instead of
   
   `var cursor:IViewCursor = **collection**.createCursor();`
   
   You could perhaps do
   
   `var cursor:IViewCursor = (dataProvider as ArrayCollection).createCursor();`
   
   Let us know if that makes sense in your case.


----------------------------------------------------------------
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:
users@infra.apache.org



Mime
View raw message