Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Extensions and Plugins > Components

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-23-2012, 05:40 PM   #1
ronaldhutasuhut
Registered User
 
Join Date: May 2012
Posts: 5
Question [AS3] Datagrid limit

I'm trying to add more than 20.000 item (.addItem) into a DataGrid with AS 3,
it always ended with an error.

Does anyone know what is the limit of a DataGrid,
how many row ( max. item) we can add into a DataGrid?


Thank you!
ronaldhutasuhut is offline   Reply With Quote
Old 06-24-2012, 01:03 AM   #2
CodeVisual
Registered User
 
Join Date: Jun 2012
Location: USA
Posts: 27
Send a message via Yahoo to CodeVisual
Default

I do not see anywhere in the documentation of a limit, so I'm not quite sure. Please post the error message you are receiving.

Did you by chance test your program with smaller amounts of items that are being added to your DataGrid?
CodeVisual is offline   Reply With Quote
Old 06-24-2012, 09:05 AM   #3
ronaldhutasuhut
Registered User
 
Join Date: May 2012
Posts: 5
Default There's no Error Message

There's no Error Message,
the movie just keep playing frame to frame continuously.

I have 20,736 items (rows). When I divide them into 6 data grids, it works although I have to wait more than 30 second before the movie start.
ronaldhutasuhut is offline   Reply With Quote
Old 06-24-2012, 05:07 PM   #4
CodeVisual
Registered User
 
Join Date: Jun 2012
Location: USA
Posts: 27
Send a message via Yahoo to CodeVisual
Default

I would imagine Flash just isn't powerful enough to preform the operation you desire. I have never used such a large amount of rows on a DataGrid, so I'm no expert on this.

Here's a radical idea; add each row using a Timer, and trace each row as it is added to the DataGrid. Make the interval short, so it ticks quickly, but not fast enough to crash your program. I wonder where/if it will stop prematurely. It's worth a try since I imagine you do not want multiple DataGrids to hold you data.
CodeVisual is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:00 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.