Hi guys, i m a beginner to flex development.
i have few text input fieds and when i click add button all the text input values to be displayed in datagrid. if i add few more items into the datagrid the values the new values display first sample datagrid as follows; column1 col2 col3 text1 text 2 text3 texta textb textc please find the sample code below'' <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> <![CDATA[ private function val():void { dg.dataProvider=pp1.text; } ]]> </mx:Script> <mx:TextInput x="170" y="73" id="pp1"/> <mx:TextInput x="170" y="73" id="pp2"/> <mx:TextInput x="170" y="73" id="pp3"/> <mx:DataGrid x="207" y="144" id="dg"> <mx:columns> <mx:DataGridColumn headerText="Column 1" dataField="tt1"/> <mx:DataGridColumn headerText="Column 2" dataField="tt2"/> <mx:DataGridColumn headerText="Column 3" dataField="tt3"/> </mx:columns> </mx:DataGrid> <mx:Button x="85" y="134" label="Button" click="val()"/> </mx:Application> can anyone help with the script.. thanks san

