Re: Performance issue with Datagrid / last build download issue

2023-05-10 Thread Hugo Ferreira
OK, I understand. If I would start my development now, I would probably investigate deeper this 2 beads to try to bulld something generic. For now VirtualDataGrid is working almost good. Probably in a more relax time, I will investigate this beads or for a new project. Gabe Harbs escreveu no di

Re: Performance issue with Datagrid / last build download issue

2023-05-06 Thread Gabe Harbs
The job of InfiniteScroller is to tell you when the user scrolled down to the end of the list. What to do when you get to the end of the list is up to you. `the most common use case is to load paged data. You would need to keep track of whether you have more paged data to get. You’d probably h

Re: Performance issue with Datagrid / last build download issue

2023-05-06 Thread Hugo Ferreira
I didn't quiet understand what this new head SmoothDataLoader does but I see that was created to work together with InfiniteScroller Harbs escreveu no dia quarta, 3/05/2023 à(s) 10:55: > I added js:SmoothDataLoader as well. > > The bead is expecting data as an array. It should be added using eit

Re: Performance issue with Datagrid / last build download issue

2023-05-06 Thread Hugo Ferreira
Hi, I thought that the new bead would be "magically" full automatic. Can you give an example (a very basic one) of the getMoreData method implementation ? Harbs escreveu no dia segunda, 1/05/2023 à(s) 17:14: > I added InfiniteScroller. > > You can use it like this: > > > > > > > > If the

Re: Performance issue with Datagrid / last build download issue

2023-05-03 Thread Harbs
I added js:SmoothDataLoader as well. The bead is expecting data as an array. It should be added using either setData() (to replace the data) or appendData() to add more data to the queue of data being added. The strand does not need a dataProvider set, but it does need to be able to handle col

Re: Performance issue with Datagrid / last build download issue

2023-05-01 Thread Harbs
I added InfiniteScroller. You can use it like this: If the scroll container is not the actual list, you should use it like this: I’ll try to add the other bead tomorrow… Harbs > On Apr 26, 2023, at 12:46 PM, Hugo Ferreira wrote: > > I'm sold :) > > When you push that to github,

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Hugo Ferreira
gt; > -Mensaje original- > De: Harbs > Enviado el: miércoles, 26 de abril de 2023 11:42 > Para: Apache Royale Development > Asunto: Re: Performance issue with Datagrid / last build download issue > > If you use IntersectionObservers, the callback is only invoked when the

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
aGrid and Jewel VirtualDataGrid @Hugo? > > Hiedra > > -Mensaje original- > De: Harbs > Enviado el: miércoles, 26 de abril de 2023 11:42 > Para: Apache Royale Development > Asunto: Re: Performance issue with Datagrid / last build download issue > > If you us

RE: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Maria Jose Esteve
Royale Development Asunto: Re: Performance issue with Datagrid / last build download issue If you use IntersectionObservers, the callback is only invoked when the observed element comes into view. The beauty of the IntersectionObservers is that it doesn’t matter how the element comes into view. It

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Hugo Ferreira
I'm sold :) When you push that to github, please make a comment here. I will test it right a way ;) Harbs escreveu no dia quarta, 26/04/2023 à(s) 10:43: > If you use IntersectionObservers, the callback is only invoked when the > observed element comes into view. The beauty of the IntersectionOb

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread contact
Yes me too ! Le 2023-04-26 11:40, Hugo Ferreira a écrit : I look forward to see your bead in action. Harbs escreveu no dia quarta, 26/04/2023 à(s) 10:39: That means, that I could use a normal DataGrid and "emulated" the infinite behaviour ? Yes. On Apr 26, 2023, at 12:32 PM, Hugo Ferrei

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
If you use IntersectionObservers, the callback is only invoked when the observed element comes into view. The beauty of the IntersectionObservers is that it doesn’t matter how the element comes into view. It can be by any kind of scrolling, window resize, or even by changing the visibility of it

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Hugo Ferreira
I look forward to see your bead in action. Harbs escreveu no dia quarta, 26/04/2023 à(s) 10:39: > > That means, that I could use a normal DataGrid and "emulated" the > infinite > > behaviour ? > > Yes. > > > > On Apr 26, 2023, at 12:32 PM, Hugo Ferreira > wrote: > > > > Hi Harbs, > > > > That's

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
> That means, that I could use a normal DataGrid and "emulated" the infinite > behaviour ? Yes. > On Apr 26, 2023, at 12:32 PM, Hugo Ferreira wrote: > > Hi Harbs, > > That's fantastic ! > That means, that I could use a normal DataGrid and "emulated" the infinite > behaviour ? > If you managed

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Hugo Ferreira
Hi Harbs, That's fantastic ! That means, that I could use a normal DataGrid and "emulated" the infinite behaviour ? If you managed time to push the bead with a example of use, would be great (when you have time). But, don't forget that the user can grab the scroll bar and drop somewhere. Harbs

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Harbs
The way I handle performance in my app is with requestAnimationFrame. Stash an array of your data providers and add them i.e. 20 at a time: private function handleScrollEnd():void{ for(var i:int=0;i<20;i++){ if(pendingTags.le

Re: Performance issue with Datagrid / last build download issue

2023-04-26 Thread Hugo Ferreira
Hi, File sent. Thanks for trying to improve virtualdatagrid. It is far from perfect but for those who want to use it for an application with a lot of data, for now it is the solution (or use pagination). Regards, Hugo. escreveu no dia quarta, 26/04/2023 à(s) 07:37: > Hi Hugo, > > Thank a lot

Re: Performance issue with Datagrid / last build download issue

2023-04-25 Thread contact
Hi Hugo, Thank a lot for your reply and sharing. I don't know if it's an issue with my webmail, I don't have an attachment. Could you send it directly on my email ? (contact at cristallium.com ) I will try with latest build from source to have some of your fix and study your DataGrid.as I wil

Re: Performance issue with Datagrid / last build download issue

2023-04-25 Thread contact
Hi Maria, Many thanks for the CI link. As I changed my computer, I need to setup again tools to compile SDK. So to save time I will use your links Fred Le 2023-04-25 21:58, Maria Jose Esteve a écrit : Hi, can you compile the SDK? If you can't, this is a CI server access: https://ci-builds.

Re: Performance issue with Datagrid / last build download issue

2023-04-25 Thread Hugo Ferreira
Hi, DataGrid does not work good with a lot of data (as you saw). You can use pagination (the users hate this approach and it's not very mobile friendly but it's technically a simple way to solve this problem) or you can render on the screen only what is visible (the users love this approach, it's

RE: Performance issue with Datagrid / last build download issue

2023-04-25 Thread Maria Jose Esteve
Hi, can you compile the SDK? If you can't, this is a CI server access: https://ci-builds.apache.org/job/Royale/job/Royale-asjs/ Hiedra -Mensaje original- De: cont...@cristallium.com Enviado el: martes, 25 de abril de 2023 19:46 Para: dev@royale.apache.org Asunto: Performance issue with