I am hoping its not a bug and I'm just doing something wrong. But in either case I would just like to know.
Michael --- In flexcoders@yahoogroups.com, "Dana Gutride" <[EMAIL PROTECTED]> wrote: > > 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: > > > > That is why the fixed did work for me :) My application also adds an > > HeaderRenderer at run-time. I don't think anybody at Adobe is aware > > of this issue even through I submitted it as a bug. > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com>, "Dana > > Gutride" <dgutride@> > > wrote: > > > > > > 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. Does anybody know a work around for this? > > > > > > Thanks, > > > Dana > > > > > > On 1/19/07, michael_ramirez44 <michael_ramirez44@> wrote: > > > > > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com><flexcoders% > > 40yahoogroups.com>, "Dana > > > > Gutride" <dgutride@> > > > > wrote: > > > > > > > > > > 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 > > > > > > > > > > On 1/19/07, Dana Gutride <dgutride@> wrote: > > > > > > > > > > > > Does anybody have a workaround for this bug? > > > > > > > > > > > > Thanks, > > > > > > Dana > > > > > > > > > > > > On 1/16/07, Jim Robson <jim.robson@ > wrote: > > > > > > > > > > > > > > They don't generally respond unless they need some > > > > clarification from > > > > > > > you. > > > > > > > > > > > > > > --- In flexcoders@yahoogroups.com <flexcoders% 40yahoogroups.com><flexcoders% > > 40yahoogroups.com><flexcoders% > > > > 40yahoogroups.com>, > > > > > > > "michael_ramirez44" > > > > > > > <michael_ramirez44@> wrote: > > > > > > > > > > > > > > > ... > > > > > > > > I have submitted this bug via the WishForm on Jan 10 but I > > > > have not > > > > > > > > recieved any response back not even an auto-response. Is > > > > there another > > > > > > > > > > > > > > > place I can submit bugs? > > > > > > > > > > > > > > > > Michael Ramirez > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I applied your fix to the example application I had posted and it > > > > fixed the problem. I tried to apply the same fix to my code and it > > > > didn't work. I think it might be the placement of the > > > > validateDisplayList() call. We are making progress :) > > > > > > > > > > > > > > > > > > > > > >