Hi, Here is the one more solution,
Use external renderer class and override function set data in the renderer. Chandu On Jun 9, 11:47 am, Ravi Mishra <[email protected]> wrote: > Hi Reshma, > > This is happening because ItemRenderer creates instances only for the > items which are there on the screen on that particular instant and as > you are not updating the dataProvider when you enter the values in > textBoxes, therefore when you scroll down the grid and then again come > back up then the itemRenderers which went off the screen while scroll > down get refreshed again as per the dataProvider values when the come > on the screen again. > > All you are required to do is to update the dataProvider on the change > of TextBox values. > > HTH, > > -Ravi > > On Jun 9, 9:39 am, Reshma Shetty <[email protected]> wrote: > > > > > Hi, > > > In my application I have to use Textbox in DataGrid. There are 3 > > columns. 3rd column is text box. I have used itemrenderer to display > > text box. > > When there are more data, vertical scroll bar will display in > > datagrid. I enter values for first 2 text boxes and scroll it down, I > > can see values of first 2 text boxes at the bottom. If I scroll it up, > > I can see value in one text box and not in other. Like that it > > continues. > > Anyone know, why is this happening and how to fix this problem? If so, > > please give me an idea on this. > > > Reshma- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

