Learning to use Flex 2 has been very rewarding. I have had a problem using the DataGrid control with ItemRenderers that I have not been able to resolve. I was able to reproduce the error in a small example. When adding and removing itemRenderers to a datagrid column at run-time I get a RTE. This alone does not seem to cause the RTE but I also set the datagrids dataProvider again which causes the error. You will need the Flash Player Debug version to actually see the error.You can view the example application at http://develop.gurufaction.com/flexbug/App.swf . The actual source can by found at App.mxml and LinkRenderer.mxml .
I thought I had a valid workaround when I stopped adding and removing the itemRenderer at Run-Time and just applied it to every column but I am still getting the error sometimes. My small example show the exact error I am getting so if anybody has any ideas please leave me a comment. The problem with learning new technologies is that you can never be sure if it is the technology or the programmer causing the problem. :)