Uplist is a dataprovider for a datagrid? ESC cancels the edit. ENTER should accept the edit. But the key question is still what the renderer looks like. Your changes may not really be going back to the data provider.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Monday, September 10, 2007 10:12 PM To: [email protected] Subject: Re: [flexcoders] weird array/datagrid editable thing... Thanks for responding Alex. Well, it's simpler than that. Originally I had an Array where I'd push in an object: uplist.push({ name:_refAddFiles.fileList[k].name, title: _refAddFiles.fileList[k].name, description: "", size:formatFileSize(_refAddFiles.fileList[k].size), file:_refAddFiles.fileList[k]}); Thing is, when it'd doubleclick and be able to change the title or description, the minute I'd escape/enter out of it, the info wouldn't change. I've changed to an ArrayCollection and now, for example, description above -- it changes the first time you edit; but the next time you attempt to edit, the change isn't taken. It's as if an empty string is ok to change, but a non-empty string won't change. Should I instead use like a fileItem module and explicitly SET the property be editable? But then how does one push a module into an array?! On Sep 11, 2007, at 12:48 AM, Alex Harui wrote: What does the dataprovider look like? What does the renderer look like? What flags have you set on the DG and renderer? ________________________________ From: [email protected] [mailto:[email protected] <mailto:[email protected]> ] On Behalf Of grimmwerks Sent: Monday, September 10, 2007 9:32 PM To: [email protected] <mailto:[email protected]> Subject: Re: [flexcoders] weird array/datagrid editable thing... Is this something where I have to have a Model in place for an empty 'fileItem' with certain properties being editable? Seems weird. On Sep 11, 2007, at 12:16 AM, grimmwerks wrote: > Ok, I've got a file uploader where a user can select a file for > upload. > > When the user does this I'm adding a 'tile' and 'description' > property to that item in the array. I've made it so that these two > cells are editable and allow the user to enter in the info; but when > enter or escape is hit, it doesn't change that property's data in the > array; instead it reverts back. > > What am I missing? > >

