Apache Flex (FlexJS) 0.7.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
DataGridModel

Package | org.apache.flex.html.beads.models
Class | public class DataGridModel
Inheritance | DataGridModel ArrayListSelectionModel EventDispatcher flash.events.EventDispatcher
Implements | IDataGridModel

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The DataGridModel class bead extends org.apache.flex.html.beads.models.ArrayListSelectionModel to facilitate using an ArrayList as the dataProvider for the DataGrid.

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | columns : Array The array of org.apache.flex.html.supportClasses.DataGridColumns used to define each column of the org.apache.flex.html.DataGrid. | DataGridModel
|  | dataProvider : Object The set of choices displayed in the ComboBox's dropdown. | ArrayListSelectionModel
|  | labelField : String The property on the data item that the item renderer should renderer. | ArrayListSelectionModel
|  | rollOverIndex : int The index of the item that is currently under the mouse. | ArrayListSelectionModel
|  | selectedIndex : int The index of the selected item in the dataProvider. | ArrayListSelectionModel
|  | selectedItem : Object The data item selected in the dataProvider. | ArrayListSelectionModel
|  | selectedString : String An alternative to selectedItem for strongly typing the the selectedItem if the Array is an Array of Strings. | ArrayListSelectionModel
|  | strand : IStrand [write-only] The host component for this bead. | ArrayListSelectionModel

Public Methods

| Method | Defined By
--- | --- | ---
|  | DataGridModel() constructor. | DataGridModel

Property Detail

columns | property

`columns:Array`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

The array of org.apache.flex.html.supportClasses.DataGridColumns used to define each column of the org.apache.flex.html.DataGrid.

Implementation
`public function get columns():Array`
`public function set columns(value:Array):void`
Constructor Detail

DataGridModel | () | Constructor

`public function DataGridModel()`

Language Version : | ActionScript 3.0

Product Version : | FlexJS 0.0

Runtime Versions : | Flash Player 10.2, AIR 2.6

constructor.

Mon Sep 5 2016, 07:19 AM -07:00