MACROMEDIA FLEX-GETTING STARTED WITH FLEX Manuale Utente Pagina 67

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 148
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 66
1 2 ... 62 63 64 65 66 67 68 69 70 71 72 ... 147 148

Commenti su questo manuale

Nessun commento