I have a function that is essentially
I have attempted substituting the column strinng for the column index, but I get the same error regardless:
Error: Call to a possibly undefined method getItemAt through a reference with static type mx.controls:DataGrid.
I have imported the mx.controls.DataGrid at the top of th script section, so I am little unsure of how to proceed. I need to access these specific cell values, and eventually it will hash out to a loop with the row numbers. Any advice is welcome.
If u r dataGrid has arrayCollection as dataProvider then
You can use DataGrid.selectedItem.@Id;
(@id is the field which u want to get suppose if you user XMLLIstCollection and you have Id in xml tag as attribute then you can use this)