RE: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-03-30 Thread Alex Harui
I don't have 2.0 around right now. 2.0.1 seems better. I got a different error in 2.0.1 and was able to workaround it by calling dg.validateNow() before loadData() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tonmmp Sent: Friday, March

RE: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-03-22 Thread Alex Harui
Please recompile with -verbose-stacktraces and post the contents of the exception dialog. invalidateList requests validateDisplayList call in the next frame update. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tonmmp Sent: Thursda

Re: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-24 Thread Dana Gutride
Michael: There is another way to get this to work. If you create the datagrid at runtime and then add everything to it (columns with itemrenderers and headerrenderers), it will work correctly when you add it as a child. I imagine it's handling the creation of the colums with their header render

Re: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-24 Thread Dana Gutride
If this is truly a bug, I agree that it would be nice to know that. Otherwise, if somebody has the answer to how to programmatically add a headerRender and not get this scrolling run-time error, that would be really helpful. Thanks, Dana On 1/23/07, michael_ramirez44 <[EMAIL PROTECTED]> wrote:

Re: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-23 Thread Dana Gutride
Ok, I've found some additional details on this problem. The call to validateDisplayList will only help if you have added an itemRenderer at run time. Adding a headerRenderer at run time will still cause this error to happen. If the header renderer is included in-line, everything works correctly

Re: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-19 Thread Dana Gutride
I think I've got an answer. After the columns are added, I had to include a call to validateDisplayList for the datagrid. That seemed to clear up this problem. Maybe this will help somebody else so they don't have to spend 3 hours researching this one. myDataGrid.validateDisplayList(); Dana

Re: [flexcoders] Re: RTE when using itemRenderers in DataGrid.

2007-01-19 Thread Dana Gutride
Does anybody have a workaround for this bug? Thanks, Dana On 1/16/07, Jim Robson <[EMAIL PROTECTED]> wrote: They don't generally respond unless they need some clarification from you. --- In flexcoders@yahoogroups.com , "michael_ramirez44" <[EMAIL PROTECTED]> wrote: > ... > I have submitted