Apache Flex 4.16.1 API Reference | All Packages | All Classes | Index | Frames No Frames |
AdvancedDataGridBaseSelectionData

Package | mx.controls.advancedDataGridClasses
Class | public class AdvancedDataGridBaseSelectionData
Inheritance | AdvancedDataGridBaseSelectionData Object

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The AdvancedDataGridBaseSelectionData class defines a data structure used by the advanced data grid classes to track selected cells in the AdvancedDataGrid control. Each selected cell is represented by an instance of this class.

See also

mx.controls.AdvancedDataGrid

Public Properties

| Property | Defined By
--- | --- | ---
|  | approximate : Boolean If true, the rowIndex and columnIndex properties contain approximate values, and not the exact value. | AdvancedDataGridBaseSelectionData
|  | columnIndex : int The column index in the data provider of the selected cell. | AdvancedDataGridBaseSelectionData
|  | data : Object The data Object from the data provider that represents the selected cell. | AdvancedDataGridBaseSelectionData
|  | rowIndex : int The row index in the data provider of the selected cell. | AdvancedDataGridBaseSelectionData

Public Methods

| Method | Defined By
--- | --- | ---
|  | AdvancedDataGridBaseSelectionData(data:Object, rowIndex:int, columnIndex:int, approximate:Boolean) Constructor. | AdvancedDataGridBaseSelectionData

Property Detail

approximate | property

`public var approximate:Boolean`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

If `true`, the `rowIndex` and `columnIndex` properties contain approximate values, and not the exact value.

columnIndex | property |

`public var columnIndex:int`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The column index in the data provider of the selected cell. This value is approximate if the `approximate` property is `true`.

data | property |

`public var data:Object`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The data Object from the data provider that represents the selected cell.

rowIndex | property |

`public var rowIndex:int`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The row index in the data provider of the selected cell. This value is approximate if the `approximate` property is `true`.

Constructor Detail

AdvancedDataGridBaseSelectionData | () | Constructor

`public function AdvancedDataGridBaseSelectionData(data:Object, rowIndex:int, columnIndex:int, approximate:Boolean)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `data:Object` — The data Object that represents the selected cell.
| `rowIndex:int` — The index in the data provider of the selected item. This value may be approximate.
| `columnIndex:int` — The column index of the selected cell.
| `approximate:Boolean` — If `true`, the `index` property contains an approximate value and not the exact value.

Wed Nov 15 2017, 09:50 AM +01:00