Hello Again,

I tried using Flex List ItemRenderer but with all those columns it took
some time to render initially around 5 seconds with Flash Hangin... Not
very pleasant.

Anyhow, after doing a lot of digging and stumbling upon the following
website
http://zoltanb.co.uk/flex-performance-tuning-superfast-list-component
I've decided to go another direction. Manually draw the Grid on a Bitmap
Canvas. As i mentioned before, all the functionality provided by a typical
grid was not required in my case... so it was pretty simple and worked like
a charm.

I added some frustum culling to enhance performance... Basically just
drawing the visible area of my screen. I posted my project on Git, you may
view the *Example *and find all the info on following page.

http://codefishsource.github.io/FlexBitmapGrid/

Many thanks for all your help.





Kind Regards,


 Ronny Shibley, Eng



Software Architect | Codefish | www.codefish.com

t +961 5 450824 | m +961 70 250650




On Wed, Mar 26, 2014 at 4:58 PM, Lee Burrows
<[email protected]>wrote:

> I expect you would see a large performance boost if you used a list -
> you'd only have one renderer per row instead of 100+
>
> On 26/03/2014 14:54, Ronny Shibley wrote:
>
>> Hello Flex User,
>>
>> I have a spark DataGrid with 100+ columns with 100+ Rows.
>>
>> My Item Renderers are as lean as they can get but i still have small
>> hiccups while scrolling vertically and horizontally. I have also used all
>> the obvious performance improvements: variableRowHeight="false",
>> opaqueBackground, etc...
>>
>> Basically I have come to the following conclusion:
>>
>> I don't want to recycle my ItemRenders I would rather wait couple of
>> seconds.
>>
>> My Question is the following:
>>
>> 1- Is there a special way to Draw the whole Grid with all the
>> ItemRenderers
>> at once, Basically useVirtualLayout=false ?
>>
>> 2- Would it be more performant to use a s:List instead as i don't need the
>> functionalities of a Grid ?
>>
>>
>> Kind Regards,
>>
>>
>> Ronny Shibley, Eng
>>
>>
>>
>> Software Architect | Codefish | www.codefish.com
>>
>> t +961 5 450824 | m +961 70 250650
>>
>>
>
> --
> Lee Burrows
> ActionScripter
>
>

Reply via email to