I have a datagrid with an Array dataprovider. A user double clicks on a row which takes them to a new state where they can do things with that data item including an action that should remove it from the original array.
I was planning on using the selectedIndex property to index into the array but I see that is an index into the datagrid, not the original array. Since I have the selected Object I can loop around my original array until I find it, and then remove it, but that's not real efficient. The better solution is probably to redesign my array, make it associative, but I am curious to know if there is a way to do it with what there already is. Thanks, and thanks to Alex for answering my previous question. Paul

