Performance issue observed in datagrid of size 50 * 50

I am trying to create a flex advancedatagrid with 50 columns and almost 50 rows with a custom itemrenderer with very basic functionality. Still it takes very long time to render the same and sometimes even timeout. Can someone please suggest the possible solution for the same. Thanks