Hopeully these will help you arrive at the solution. 1. You need to override the measure and updateDisplayList function whenever u override the createChildren function. 2. I would just extend TextInput rather than AdvDataGridHeaderRender. 3. Note that data object in the HeaderRenderer is an instance of AdvDataGridColumn. Extend your own AdvDataGridColumn and have new property called myTxtValue then in the HeaderRenderer u can use binding and use it like this (data as MyAdvDataGridColumn).myTxtValue = 'sometext' 4. When using renderers (since they are recycled) always have the else block when u have if condition
http://weblogs.macromedia.com/pent/archives/flex_solutions/index.html --- In [email protected], "gaurav1146" <[EMAIL PROTECTED]> wrote: > > Hi, > I have a datagrid to which I am adding a TextInput in the Header by > overriding the createChildren() method of > AdvancedDataGridHeaderRenderer. The problem is that when I have > certain text in the header textinput and the user performs a scroll on > the DataGrid the createChildren() method is called again and it > creates a new TextInput. Thus whatever value the user has typed in the > textinput is lost on a scroll. Is there any way I could pass the > original text of the textinput to the newly created text input. > > TIA > Gaurav >

