Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Adds functionality to list driven components.
isFirstRow:Boolean
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Returns if the selectedIndex is equal to the first row.
Implementation public function get isFirstRow():Boolean
isLastRow:Boolean
[read-only]
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Returns if the selectedIndex is equal to the last row.
Implementation public function get isLastRow():Boolean
public function findRowIndex(field:String, value:String, startingIndex:int = 0, patternType:String):int
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
This will search through a dataprovider checking the given field and for the given value and return the index for the match.
It can start the find from a given startingIndex;
Parameters
| field:String |
|
| value:String |
|
| startingIndex:int (default = 0 )
|
|
| patternType:String (default = NaN )
|
Returns public function findRowIndices(field:String, values:Array, patternType:String):Array
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
This will search through a dataprovider checking the given field and for the given values and return an array of indexes that matched.
Parameters
| field:String |
|
| values:Array |
|
| patternType:String (default = NaN )
|
Returns public function moveIndexFindRow(field:String, value:String, startingIndex:int = 0, patternType:String):Boolean
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
This will search through a dataprovider checking the given field and will set the selectedIndex to a matching value.
It can start the search from the startingIndex;
Parameters
| field:String |
|
| value:String |
|
| startingIndex:int (default = 0 )
|
|
| patternType:String (default = NaN )
|
Returns public function moveIndexFirstRow():void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Changes the selectedIndex to the first row of the dataProvider.
public function moveIndexLastRow():void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Changes the selectedIndex to the last row of the dataProvider.
public function moveIndexNextRow():void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Changes the selectedIndex to the next row of the dataProvider. If there isn't a current selectedIndex, it silently returns.
If the selectedIndex is on the first row, it does not wrap around. However the isFirstRow
property returns true.
public function moveIndexPreviousRow():void
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.10 |
Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Changes the selectedIndex to the previous row of the dataProvider. If there isn't a current selectedIndex, it silently returns.
If the selectedIndex is on the last row, it does not wrap around. However the isLastRow
property returns true.
Thu Aug 1 2013, 07:16 PM +10:00