Those are good suggestions, but I've already tried both of them. I don't think sticking the DataGrid in a big Canvas is a good solution because not only does it looks ugly, and you lose the feature of scrolling in increments of data columns.
I optimized my item renderers by eliminating them. In the objects that represent rows in the DataGrid I created fields for string representations of every non-string value. Event with no custom renderers the scrolling still isn't smooth. Does anybody have an idea of how hard it would be to have the DataGrid cache columns that are off screen? --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Some folks make the DG very wide and stick it a canvas and use Canvas's > scrollbar. > > It might be worth looking into optimizing your custom renderers. > > ________________________________ > > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of harfga > Sent: Friday, April 20, 2007 8:14 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Slow and jumpy scrolling in DataGrid. Is it > possible to cache more? > > > > I have an application with DataGrid components that have many columns, > with a horizontal scroll bar. The performance of horizontal scrolling > is bad. It is markedly bad if I use custom item renderers. > > As a comparison, scrolling within a large Canvas component is very > smooth and quick. > > I believe the Canvas is fast because it caches the graphical content > of what is off screen. On the other hand, the DataGridColumn elements > are rendered every time they are first brought on the screen. > > Has anybody else experienced this? Does anybody have advice on how to > customize the DataGrid so that it keeps off-screen DataGridColumn > objects cached and pre-rendered? > > Thank you. >