1 Reply Latest reply on Nov 17, 2008 2:44 PM by jfb00

    Dynamic Datagrid

    JennHysuick
      I am trying to create a dynamic, editable datagrid, but so far have had no luck. I am doing this all thru actionscript, which is where I am running into problems. The only thing the system knows is an array of header text, the number of rows and the number of columns. Based on this, I need to create the grid so that each cell is editable, which will then save whatever is typed into it (which I should be able to figure out if I can get the datagrid to display). I have the headers printing out, and I can get each cell to be editable, but when I change one cell in a row, as soon as I remove the focus from the cell, each cell in the row is populated with the same value.

      I'm pretty sure that it has something to do with how I'm populating the datagrid, and I've tried several ways with no success (Objects, ArrayCollections, Array). I'm not really sure what else to try, and advice on creating dataGrids with actionscript is quite minimal.

      Thank you in advance for your help!