Adobe FLEX 2-MIGRATING APPLICATIONS TO FLEX 2 Manual page 103

Migrating applications to flex 2
Table of Contents

Advertisement

The Tree, Menu, MenuBar, and
class to access and manipulate control-specific information, such as menu item type, that
is contained in the data provider. Tree controls require a class that implements the
ITreeDataDescriptor
the
IMenuDataDescriptor interface.
DefaultDataDescriptor
class unless you specify a custom data descriptor.
The DefaultDataDescriptor supports standard E4X XML data sources, and Array based-
sources that conform to specific structure rules. You might have to change the structure of
your Array or object-based data source to conform to data descriptor rules. For detailed
information see "Using hierarchical data providers" in Chapter 4, "Data Providers," in
Flex 2 Developer's Guide.
To sort the contents of a DataGrid control, you now sort the underlying data provider,
using the collection interfaces. You can still let users control sorting by clicking on the grid
headers. For detailed information see "Sorting data in DataGrid controls" in Chapter 12,
"Using Data-Driven Controls," in Flex 2 Developer's Guide
PopUpMenuButton
interface, and menu-based controls require a class that implements
The Tree and menu-based controls use a
class, which implements both interfaces, as the data descriptor
controls, now use a data descriptor
103

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flex 2

Table of Contents