[flexcoders] Copying all data from one column of DataGrid to another column

2008-04-07 Thread Baljeet singh
Hi all, I am using an dataGrid control. I want to have a functionality by which i can copy the entire column of a DataGrid to another column of the same DataGrip. Any pointers / help will be highly appreciated. Thanks: Bali

Re: [flexcoders] Copying all data from one column of DataGrid to another column

2008-04-07 Thread Scott Melby
It seems the following should do it: //assuming this setup mx:DataGrid id=theGrid dataProvider={_dataGridAC} ... private function copyColumnData(ac:ArrayCollection, sourceDataField:String, destDataField:String):void { //you could use the real object type here instead of Object for