Unfortunately i'm using a custom itemRenderer with a TextArea and i also need buttons, like for the user to delete an item.
--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote: > > Why are you using TextArea? Do you need editability or scrolling? > Otherwise, I would modify ListItemRenderer to get multiline text > > > > ________________________________ > > From: [email protected] > [mailto:[EMAIL PROTECTED] On Behalf Of florian d'erfurth > Sent: Wednesday, December 05, 2007 7:59 AM > To: [email protected] > Subject: [flexcomponents] List variableRowHeight and custom itemrenderer > trouble. > > > > Hi everyone :) > > I have a lot of trouble trying to use a slightly modified textArea > that adapt in height to fit with to the text as an itemRenderer in a > List. > > The problem is that when a list row change its height, the data is > reloaded, so each time my textArea try to grow the text is reset to > its original state ! > > So i guess the solution would be to avoid the List to reload data from > the dataprovider and... well i'm pretty stuck :/ >
