dataProvider
The UIDUtil class is a utility class for manipulating UIDs (universal identifiers) in Flex. A UID is a very unique String which is hopefully fully unique. The UID is intended to be a unique index to a particular instance of a class in Flex. The UIDUtil class has static methods that can create and fetch UIDs for any Object in a Flash application. UIDUtil is commonly used by the list classes to index their contents and provide lookups for various purposes.
Problem:
You have an AdvancedDataGrid which is highlighting the wrong row when you navigate using the mouse or keyboard.
Solution:
It is likely that you have put duplicate data in the dataProvider for your AdvancedDataGrid. It is illegal to put the same instance anywhere in the hierarchy of data that you assign to the dataProvider property. The regular DataGrid also has this limitation, which you can read about in the DataGrid highlights wrong row Solution. You can objects with identical data, but they must be different instances of the same object.
The only solution is to create unique objects for any data you want to display in an AdvancedDataGrid.
Further explanation, along with a SWF example and source code:
Problem:
You have a DataGrid which is highlighting the wrong row when you navigate using the mouse or keyboard.
Solution:
It is likely that you have put duplicate data in the dataProvider for your DataGrid. It is illegal to put the same instance into the collection of data that you assign to the dataProvider property. You can create duplicate objects, but they must be different instances of the same object. It is valid if the fields are identical, but not the objects themselves.
The only solution to this is to create unique objects for your DataGrid.
Further explanation, along with a SWF example and source code:
