On 4/24/07, Austin Kottke <[EMAIL PROTECTED]> wrote: > Hi. I've got a datagrid with about 60 rows and 30 columns. Each > has a custom item renderer that extends a Canvas component. > > The scrollbar that appears is lagging majorly with this set. I've tried > cacheasBitmap, Implementing > different dataproviders such as XMLListCollection and other things to > somewhat speed up the lag-also > changing framerate. It seems that the scrollbar lag stays. > > Anyone have any ideas on this?
Alex Harui's blog suggests that extending Canvas in a DataGrid's ItemRenderer is probably not a good idea if you have a lot of visible cells, because of the overhead that comes with using a container (they do a lot behind the scenes that you might not really need). His recommendation is to extend UIComponent directly and programatically lay out your view of the item. e

