MACROMEDIA FLEX-GETTING STARTED WITH FLEX Bedienungsanleitung Seite 67

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 148
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 66
Data Grids
We regularly have to build tables of structured information.
This is easy in Flex, thanks to two controls: the DataGrid and
the AdvancedDataGrid. I’ll start by showing the DataGrid control
(see Example 4-11).
Example 4-11. Datagrid.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:XMLList id="employees">
<employee>
<name>Christina Coenraets</name>
<phone>555-219-2270</phone>
<email>[email protected]</email>
<active>true</active>
</employee>
Figure 4-10. A collection of the basic control types
Data Grids | 51
Seitenansicht 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 147 148

Kommentare zu diesen Handbüchern

Keine Kommentare