Hello, I just found both Flex and this group. So here a newbie problem:
I have a DataGrid (AdvancedDataGrid even) that gets populated from an
XML source. Selecting an item in the list selects it in another place
of the application too (let's call it "Space") and also some of the
item's data is shown in a form. Additionally clicking the item in
Space selects it in the list and that form is populated the same way.
The way I link from Space to the list is through an "id" attribute of
the Space items. Something like so:
list.selectedItem = _xml_source.items.item.(@id==space_item.id);
It all works well until I sort the DataGrid. Then that selection
expression returns null. I've tried see why in the debugger, but I
can't see it. What am I missing here?