Thanks Tracy for your help ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, January 09, 2007 6:39 PM To: [email protected] Subject: RE: [flexcoders] DataGrid row
That is because there is really no such thing. The list controls are windows into the data, and only the visible rows exist. The visual rendering elements are re-used when the data is scrolled or the dataProvider is changed. You cannot access the data through the control, but must work with the dataProvider, in your case, something like: myDataGrid.dataProvider.setItemAt(); The exact API you use depends on what the dataProvider is, ArrayCollection, XMLList, XMLListCOllection are the main types. If you use the Collection api to modify the data, then the changes will automatically be reflected in the control. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Tuesday, January 09, 2007 4:50 AM To: [email protected] Subject: [flexcoders] DataGrid row Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --------------------- --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. --------------------- --------------------- An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. ---------------------

