Migrate from Flex - Array - SortOn

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Migrate from Flex - Array - SortOn

hiedra

Hello,

In my Flex code I use Array and SortOn but in royale SortOn does not recognize me, what alternative is there?

 

Any help will be welcome, thanks.

Reply | Threaded
Open this post in threaded view
|

Re: Migrate from Flex - Array - SortOn

Alex Harui-2

Please provide a few lines of the code that uses SortOn and what error you are getting.  Royale should handle SortOn.  The compiler should generate a call to Language.sortOn.

 

Thanks,

-Alex

 

From: Maria Jose Esteve <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 3, 2019 at 1:24 PM
To: "[hidden email]" <[hidden email]>
Subject: Migrate from Flex - Array - SortOn

 

Hello,

In my Flex code I use Array and SortOn but in royale SortOn does not recognize me, what alternative is there?

 

Any help will be welcome, thanks.

Reply | Threaded
Open this post in threaded view
|

RE: Migrate from Flex - Array - SortOn

hiedra

I have expressed myself wrong, I am sorry.

It's not that I don't recognize it but it doesn't give me anything back.

 

          var A:Array = Glb.AVecIni.DTPersonal;

          Glb.AVecIniPer.DTPersonal = new ArrayCollection(A);

          var B:Array = A.slice().sortOn("NOMBRECOMPLETO");

          Glb.ANombre = new ArrayCollection(B);

 

Glb.AvecIni.DTPersonal : has 112 records

A : has 112 records

Glb.AvecIniPer.DTPersonal : has 112 records

A.slice() : has 112 records

B : 0 records

 

I have debugged and see no errors.

 

Thanks,

Hiedra

 

De: Alex Harui <[hidden email]>
Enviado el: jueves, 03 de octubre de 2019 23:07
Para: [hidden email]
Asunto: Re: Migrate from Flex - Array - SortOn

 

Please provide a few lines of the code that uses SortOn and what error you are getting.  Royale should handle SortOn.  The compiler should generate a call to Language.sortOn.

 

Thanks,

-Alex

 

From: Maria Jose Esteve <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 3, 2019 at 1:24 PM
To: "[hidden email]" <[hidden email]>
Subject: Migrate from Flex - Array - SortOn

 

Hello,

In my Flex code I use Array and SortOn but in royale SortOn does not recognize me, what alternative is there?

 

Any help will be welcome, thanks.

Reply | Threaded
Open this post in threaded view
|

RV: Migrate from Flex - Array - SortOn

hiedra

Really B : undefined

 

Hiedra

 

De: hiedra [via Apache Royale Users] <ml+[hidden email]>
Enviado el: viernes, 04 de octubre de 2019 0:18
Para: Maria Jose Esteve <[hidden email]>
Asunto: RE: Migrate from Flex - Array - SortOn

 

I have expressed myself wrong, I am sorry.

It's not that I don't recognize it but it doesn't give me anything back.

 

          var A:Array = Glb.AVecIni.DTPersonal;

          Glb.AVecIniPer.DTPersonal = new ArrayCollection(A);

          var B:Array = A.slice().sortOn("NOMBRECOMPLETO");

          Glb.ANombre = new ArrayCollection(B);

 

Glb.AvecIni.DTPersonal : has 112 records

A : has 112 records

Glb.AvecIniPer.DTPersonal : has 112 records

A.slice() : has 112 records

B : 0 records

 

I have debugged and see no errors.

 

Thanks,

Hiedra

 

De: Alex Harui <[hidden email]>
Enviado el: jueves, 03 de octubre de 2019 23:07
Para: [hidden email]
Asunto: Re: Migrate from Flex - Array - SortOn

 

Please provide a few lines of the code that uses SortOn and what error you are getting.  Royale should handle SortOn.  The compiler should generate a call to Language.sortOn.

 

Thanks,

-Alex

 

From: Maria Jose Esteve <[hidden email]>
Reply-To: "[hidden email]" <[hidden email]>
Date: Thursday, October 3, 2019 at 1:24 PM
To: "[hidden email]" <[hidden email]>
Subject: Migrate from Flex - Array - SortOn

 

Hello,

In my Flex code I use Array and SortOn but in royale SortOn does not recognize me, what alternative is there?

 

Any help will be welcome, thanks.

 


If you reply to this email, your message will be added to the discussion below:

http://apache-royale-users.20374.n8.nabble.com/Migrate-from-Flex-Array-SortOn-tp2755p2757.html

To start a new topic under Apache Royale Users, email [hidden email]
To unsubscribe from Apache Royale Users,
click here.
NAML