AdvancedDataGrid
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 want to apply a filter function to a HierarchicalCollectionView to filter some data that is only in the parent or only in the children.
Solution
Any function applied to the filterFunction of HierarchicalCollectionView is applied to all of the elements in the collection. It can filter items at different levels of the hierarchy as long as the method itself understands the hierarchy.
The AdvancedDataGrid is a new class available in Flex 3 as part of the data visualization package. You can experiment with the AdvancedDataGrid without owning the correct license, but you'll get a watermark above every grid.
Problem
I am seeing some runtime errors (RTEs) with the data or listData properties when I use my DataGrid or AdvancedDataGrid with a custom item renderer.
Solution
Verify that your code always preserves the value that the grid sets data and listData to in your setter.
