Dude, wtf, I’ve been seeing this question on Flashcoders for 3 years now; it pops up at least once a month.
“I’m putting 10 billion records in my DataGrid, and it’s slow. Any suggestions?”
…no, just abashed questions actually:
– why?
– no… seriously, why? Why are you putting that much data into a DataGrid?
– I’m not a DBA, but even I’ve heard of paging? Condescending? Dude, your the one coding RecordSets…
– can the end user actually digest that much information?
– why not present the information in a more digestable way. If you’ve ever been to cnn’s homepage, or the old NutScrape, information overload blows; if your building an app, the user is accomplishing a task. Help them, don’t throw a bunch of tools at them, put them in the right place and in the right order.
– use an interval or an onEnterFrame (broken every 2 frames since doLater is used in a lot of places in the DataGrid to redraw the dataprovider changes, and it updates the frame after you’ve changed the model) to throw chunks in the grid, small pieces at a time, whilst showing a nice modal ProgressBar. Why not do that?
Why do some people want to yuke MySQL into Flash DataGrids?
I don’t get it. :: goes to try :: …well, it does feel kind of cool… naw, that can’t be it.