This content has been marked as final. Show 5 replies
dataGridID.selectedItem.YourColumnDataField will give you the selected row for that Column so if you wanted to the whole row you could just use this
var str1:string = dataGridID.selectedItem.YourColumnDataField1
var str2:string = dataGridID.selectedItem.YourColumnDataField2
var str3:string = dataGridID.selectedItem.YourColumnDataField3
this function could be fired on the click event or doubleclick event of the datagrid
But what if they made a mistake and had to go back and change it. How would I know what column they went back to? This is where I am running into my problems.
Also if anyone has any examples of using a data grid as a mass updater for many fields in a database using PHP that would be very helpful also.
if you only need three columns why not use something like 3 dataGrids or 3 lists and just change each of the latter 2's dataProvider on click of each respectively.
Thats what I was going to do if there was no other way to do what I originally wanted to do.
Thanks for all your help rotoole
Check out the Random Walk component:
It might be worth a look as it sounds like your desired aims are pretty similar to what this component does, except this component does it in a very visually pleasing way.