| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
The SortFieldCompareTypes class defines the valid constant values for the
sortCompareType property of the
SortField and
GridColumn.
Designed to be used from a DataGrids column, but can be referenced directly on the SortField
Use the constants in ActionsScript, as the following example shows:
column.sortCompareType = SortFieldCompareTypes.NUMERIC;
In MXML, use the String value of the constants, as the following example shows:
<s:GridColumn sortCompareType="numeric" />
public function SortFieldCompareTypes()| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.10 |
| Runtime Versions : | Flash Player 11.1, AIR 3.4 |
Constructor.
public static const DATE:String = date| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
Represents the dateCompare inside a SortField.
public static const NULL:String = null| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
Represents the nullCompare inside a SortField.
public static const NUMERIC:String = numeric| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
Represents the numericCompare inside a SortField. This also is used for boolean comparisons.
public static const STRING:String = string| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
Represents the stringCompare inside a SortField.
public static const XML:String = xml| Language Version : | ActionScript 3.0 |
| Product Version : | Flex 4.11 |
| Runtime Versions : | Flash Player 11.8, AIR 3.8 |
Represents the xmlCompare inside a SortField.
Wed Nov 15 2017, 09:50 AM +01:00