[flexcoders] Re: Help! Datagrid bug?

2007-11-29 Thread yossigordin
Sent: Wednesday, November 28, 2007 12:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Help! Datagrid bug? Hi, I know this problem, happened to me once. This is a known issue that won't be fixed by Adobe. It usually happens when you try to scroll - the data is presented

Re: [flexcoders] Re: Help! Datagrid bug?

2007-11-29 Thread Tom Chiverton
On Wednesday 28 Nov 2007, Alex Harui wrote: Has Adobe refused to fix it? Can you point me to the bug? Well, one hopes so, on the grounds it's not a bug but an artefact of renderers being recycled. -- Tom Chiverton Helping to authoritatively expedite innovative niches on:

Re: [flexcoders] Re: Help! Datagrid bug?

2007-11-29 Thread Tom Chiverton
On Thursday 29 Nov 2007, yossigordin wrote: Tom, you can't do it with one method. If you try to, it will call the addEventListener each time the data is changed. Eh ? Take out the addEventListener*, or have just that one bit in doInit(), followed by a call to dataChange(). *Or use the 'one

[flexcoders] Re: Help! Datagrid bug?

2007-11-28 Thread yossigordin
Hi, I know this problem, happened to me once. This is a known issue that won't be fixed by Adobe. It usually happens when you try to scroll - the data is presented in a wrong way. But it has a solution. Add an event listener for FlexEvent.DataChange in your itemRenderer. In the listener

Re: [flexcoders] Re: Help! Datagrid bug?

2007-11-28 Thread Tom Chiverton
On Wednesday 28 Nov 2007, yossigordin wrote: Add an event listener for FlexEvent.DataChange in your itemRenderer. In the listener function do your code again. It would be better practice to call your creationComplete handler again, rather than cutting and pasting the code into another method.

RE: [flexcoders] Re: Help! Datagrid bug?

2007-11-28 Thread Alex Harui
Has Adobe refused to fix it? Can you point me to the bug? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yossigordin Sent: Wednesday, November 28, 2007 12:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Help! Datagrid bug