I continue to be skeptical that it's a DataGrid problem. I have no problem getting a DataGrid to display 1,000,000 small items:
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <![CDATA[ private function dg_initialize(event:Event):void { const N:int = 1000000; var dp:Array = new Array(N); for (var i:int = 0; i < N; i++) { dp[i] = { "i": i, "Log(i)": Math.log(i) }; } dg.dataProvider = dp; } ]]> </mx:Script> <mx:DataGrid id="dg" initialize="dg_initialize(event)"/> </mx:Application> The fact that JSP/HTML works isn't relevant. The issue is whether all of the data items are being successfully fetched by HTTPService or whatever you're using. - Gordon ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luke Vanderfluit Sent: Monday, February 11, 2008 4:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] DataGrid limit on amount of records or data? Hi. I really appreciate everyones response (-: Gordon Smith wrote: > You need to determine whether you're having a problem fetching the data > from the server, or displaying the data in the DataGrid. The problem is in the rendering. I am able, with a simple jsp to fetch the data and display it in html. Kr. Luke. > > Gordon Smith > Adobe Flex SDK Team > > ---------------------------------------------------------- > *From:* flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> ] > *On Behalf Of *Luke Vanderfluit > *Sent:* Sunday, February 10, 2008 12:34 AM > *To:* flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > *Subject:* Re: [flexcoders] DataGrid limit on amount of records or data? > > Hi Alex. > > Thanks very very much for responding. > > Alex Harui wrote: > > > > The only limit should be the amount of memory, not some number. What > > problem did you see when you got above 5000? > > > The problem was that the data simply did not render. > I tested with 2 different datasets, gradually increasing the number of > rows in the database table. > One dataset rendered correctly up to 4128 rows in the database. > Then increasing the data with one row caused nothing (blank page) to be > displayed. This was retried with a server (tomcat) restart and without > in both cases the same result. No errors or debug messages. > The other dataset showed the same behaviour however the cut off point > was up around 6030 records. > After I had reached the upper limit where no data was displayed ( a > blank page) I shrunk the data back a few rows in both cases and reloaded > the page with data displaying again. > > What do you think? > Shouldnt I be able to display that many rows if I want? > > Kind regards. > Luke. > > > ---------------------------------------------------------- > > > > *From:* flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com> [mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com>] > > *On Behalf Of *Luke Vanderfluit > > *Sent:* Saturday, February 09, 2008 4:36 PM > > *To:* flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> > <mailto:flexcoders%40yahoogroups.com>; [EMAIL PROTECTED] <mailto:javaflexcoders%40yahoogroups.com> > <mailto:javaflexcoders%40yahoogroups.com> > > *Subject:* [flexcoders] DataGrid limit on amount of records or data? > > > > > > > > Hi. > > > > Im using flex with a hibernate backend. > > I have tables in a db that Id like to show using Datagrid. > > I have done tests and found that there is a limit to the number of > > records shown in the datagrid. > > > > Is this a limitation of the datagrid? > > How do I get around this? > > > > I currently am able to show around 5000 records. > > When I have tables of say 10000 or 100000 records, how do I show them? > > > > Thanks. > > Kind regards. > > Luke. > > > > > > -- Luke Vanderfluit Analyst / Web Programmer e3Learning.com.au 08 8221 6422