Groups | Blog | Home
all groups > flash data integration > december 2004 >

flash data integration : Can't read new value entered in Datagrid


simpson
12/27/2004 11:28:55 PM
Hi there,

I'm new to Datagrid and now I'm hard-coding 3 records into a dataProvider
{name:"Peter", gender:"boy"}, {name:"Chris",
gender:"girl"}and set the datagrid to edit mode. After I modified a value
in a cell and click on the other one, I found the value I just endtered is
not automatically update to dataProvider. I've been searching lots of
document in macromedia web site but I still can't get the solution, pls
help. (Don't know if it is anything related to repeater and setValue () but
I'm going to read the data from an MS-Access database and not remote
service). Thanks.



R!ch
12/30/2004 10:34:26 PM
The datagrid isn't bound to your array ,it's contents where just copied over so
it's not going to update the array. You can use the binding class to bind the
two together or you can dump the array into a dataholder component and then
bind it to the grid.
AddThis Social Bookmark Button