Packagecom.flexicious.nestedtreedatagrid
Classpublic class FlexDataGridColumn
InheritanceFlexDataGridColumn Inheritance mx.styles.CSSStyleDeclaration
Implements com.flexicious.grids.dependencies.IDataGridFilterColumn
Subclasses FlexDataGridCheckBoxColumn, FlexDataGridExpandCollapseColumn

Language Version : ActionScript 3.0

The FlexDataGridColumn class describes a column in a FlexDataGrid Column control. This class extends a CSSStyleDeclaration, and defines properties that affect the appearance of the header, footer, filter, and data cells in belonging to the column.



Public Properties
 PropertyDefined By
  blankValuesLabel : String = [None]
Value for the blank item in multi select combobox filter control Please note, there is a space in the front of this string so it shows up right below the "All" option.
FlexDataGridColumn
  calculatedHeaderHeight : Number
The height on basis of the data to be displayed.
FlexDataGridColumn
  cellBackgroundColorFunction : Function
A function that can be used to control the background color of each cell in this column.
FlexDataGridColumn
  cellBorderFunction : Function
A function that lets you control the border drawing mechanism for each cell.
FlexDataGridColumn
  cellCustomDrawFunction : Function
A function that lets you control the background drawing mechanism for each cell.
FlexDataGridColumn
  cellDisabledFunction : Function
A function that can be used to control the enabled flag of each cell in this column.
FlexDataGridColumn
  cellTextColorFunction : Function
A function that can be used to control the Text color of each cell in this column.
FlexDataGridColumn
  clearFilterOnIconClick : Boolean
For filterControl=textInput, if you specify an Filter Icon Style, setting this variable to true will clear the text on icon click.
FlexDataGridColumn
  clickBehavior : String
[read-only] Unused, for legacy purposes only
FlexDataGridColumn
  columnGroup : FlexDataGridColumnGroup
The group, if any that this column belongs to.
FlexDataGridColumn
  columnLockMode : String
In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns. The grid supports the following selection modes: 1) LOCK_MODE_LEFT 2) LOCK_MODE_RIGHT 3) LOCK_MODE_NONE If set to left, the column will be locked to the left and not scroll horizontally. If set to right, the column will be locked to the right, and not scroll horizontally. Please note, column lock modes only make sense if the horizontalScrollPolicy of the grid is set to "on" or "auto", since if there is no horizontal scrollbar, locked columns behave like unlocked columns, because there is no horizontal scroll.
FlexDataGridColumn
  columnWidthMode : String
The columnWidthMode property on the column specifies how the column widths are applied.
FlexDataGridColumn
  columnWidthModeFitToContentExcludeHeader : Boolean
Whether or not to include the header text in the calculation of the column width.
FlexDataGridColumn
  columnWidthOffset : int
A value in pixels, that may be used to add/remove width that gets calculated when you use the columnWidthMode property Use if you have custom renderers or icons.
FlexDataGridColumn
  dataCellRenderer : IFactory
Container for the item renderer.
FlexDataGridColumn
  dataField : String
The property to display in this column.
FlexDataGridColumn
  draggable : Boolean
Flag that indicates whether the user is allowed to resize the width of the column.
FlexDataGridColumn
  editable : Boolean
Flag that indicates whether the items in the column are editable.
FlexDataGridColumn
  editorDataField : String
The name of the property of the item editor that contains the new data for the list item.
FlexDataGridColumn
  enableCellClickRowSelect : Boolean
Flag to enable selection of a row when a cell within that row is clicked.
FlexDataGridColumn
  enableDataCellOptmization : Boolean
Flag to turn on the highly optimized FlexDataGridDataCell3.
FlexDataGridColumn
  enableExpandCollapseIcon : Boolean = false
For hierarchical datagrids, instead of having a separate column for icons, this flag will be used to embed an icon based on disclosureOpenIcon and disclosureClosedIcon within this column that will control the expand collapse of the row.
FlexDataGridColumn
  enableFilterAutoComplete : Boolean
When filterControl=textInput, setting this flag to true will set the enableAutoComplete flag on the associated TextInput control
FlexDataGridColumn
  enableHierarchicalNestIndent : Boolean
For grouped datagrids, when a single column represents entities from various nest levels, its nice to visually indent them.
FlexDataGridColumn
  enableIcon : Boolean
Flag to enable/disable icons within this cell. For columns that have icons (with or without text), you can Set enableIcons=true. If it will be the same icon for each cell, just set the "icon" style property on the column. If it will be different icons based on some logic, you can either provide that via the iconField property, or specify an iconFunction. If the cell will contain just an icon and no text, then set hideText/hideHeaderText to true. If the header also needs an icon, use the headerIconUrl property. Specify (iconLeft or iconRight) and (iconTop or iconBottom).
FlexDataGridColumn
  enableLocalStyles : Boolean = true
Added to avoid flicker
FlexDataGridColumn
  enableRecursiveSearch : Boolean = false
For Grouped datagrids, searching on this column will cause match current item, as well as any of its children.
FlexDataGridColumn
  excludeFromExport : Boolean
If set to true, this column wont be included in the export mechanism by default.
FlexDataGridColumn
  excludeFromPrint : Boolean
If set to true, this column wont be included in the print mechanism by default.
FlexDataGridColumn
  excludeFromSettings : Boolean
If set to true, this column wont be included in the settings popup by default.
FlexDataGridColumn
  filterCellRenderer : IFactory
Container for the footer renderer.
FlexDataGridColumn
  filterComboBoxBuildFromGrid : Boolean
Flag, if set to true, will automatically build this collection on basis of distinct values in the grid.
FlexDataGridColumn
  filterComboBoxDataField : String
Used in conjunction with the
FlexDataGridColumn
  filterComboBoxDataProvider : ArrayCollection
Dataprovider to use to build the list of values to dipsplay in the filter control, only applicable if the filterControl is a
FlexDataGridColumn
  filterComboBoxLabelField : String
Used in conjunction with the
FlexDataGridColumn
  filterComboBoxWidth : Number
Returns the width of the dropdown.
FlexDataGridColumn
  filterCompareFunction : Function = null
A function that takes an item, and a filterExpression, and returns true or false on basis of whether the provided item matches the filterExpression.
FlexDataGridColumn
  filterComparisionType : String
This is usually automatically set, you dont have to manually set it, unless you're sending strings as Date objects.
FlexDataGridColumn
  filterControl : String
A control that implements
FlexDataGridColumn
  filterConverterFunction : Function = null
A function that takes an item, and returns a processed value for comparison.
FlexDataGridColumn
  filterDateRangeOptions : Array
Applicable only when the filtercontrol is a
FlexDataGridColumn
  filterOperation : String
The operator to apply when doing the conversion.
FlexDataGridColumn
  filterRenderer : IFactory
The actual control to render inside the header column.
FlexDataGridColumn
  filterTriggerEvent : String
The event that the filter triggers on.
FlexDataGridColumn
  filterWaterMark : String
Applicable only if the filter control is TextInput.
FlexDataGridColumn
  footerAlign : String
The alignment of the footer label
FlexDataGridColumn
  footerCellRenderer : IFactory
Container for the footer renderer.
FlexDataGridColumn
  footerFormatter : Formatter
Formatter for the footer label
FlexDataGridColumn
  footerLabel : String
The label of the footer
FlexDataGridColumn
  footerLabelFunction : Function
A function that will return the footer label
FlexDataGridColumn
  footerLabelFunction2 : Function
Similar to footerLabelFunction, but takes the footer cell instead of the column.
FlexDataGridColumn
  footerOperation : String
The operation to apply to the footer
FlexDataGridColumn
  footerOperationPrecision : int
Precision for the footer label
FlexDataGridColumn
  footerRenderer : IFactory
A renderer for the footer
FlexDataGridColumn
  footerWordWrap : Boolean
The alignment of the header label
FlexDataGridColumn
  format : String
Used by the doFormat method.
FlexDataGridColumn
  formatter : Object
Used by the doFormat method.
FlexDataGridColumn
  formatterCurrencySymbol : String
For currency formatter, the currency symbol.
FlexDataGridColumn
  formatterDateFormatString : String
For date formatters, the date format.
FlexDataGridColumn
  formatterPrecision : Number = 2
For number and currency formatters, the default number of digits after the decimal point.
FlexDataGridColumn
  hasComplexDisplay : Boolean = false
Performance optimization, is set to true if there is a complex fieldname or a labelFunction or labelFunction2
FlexDataGridColumn
  headerAlign : String
The alignment of the header label
FlexDataGridColumn
  headerCellRenderer : IFactory
Container for the header renderer.
FlexDataGridColumn
  headerMenuActions : Array
A list of ToolbarActions to show when the user hovers their mouse over the header cell of this column.
FlexDataGridColumn
  headerRenderer : IFactory
The class factory for item renderer instances that display the column header for the column.
FlexDataGridColumn
  headerText : String
Text for the header of this column.
FlexDataGridColumn
  headerToolTip : String
Tooltip to apply to the header.
FlexDataGridColumn
  headerWordWrap : Boolean
The alignment of the header label
FlexDataGridColumn
  hideHeaderText : Boolean = false
The header text is used in the column picker, export, etc.
FlexDataGridColumn
  hideText : Boolean = false
In scenarios where you only want to display the icon, set enableIcon=true, and hideText=true;
FlexDataGridColumn
  iconField : String
The property on the model object that returns the url to the icon, if you wish to show different icons for each cell.
FlexDataGridColumn
  iconFunction : Function
If enableIcon=true, icon function for the icon.
FlexDataGridColumn
  iconHandCursor : Boolean = false
If enableIcon=true, enables hand cursor on the icon
FlexDataGridColumn
  iconMouseOverDelay : Number = 500
The delay to wait until dispatching the iconMouseOver event when the user mouse the mouse over the icon.
FlexDataGridColumn
  iconToolTip : String
If enableIcon=true, tooltip for the icon
FlexDataGridColumn
  iconToolTipFunction : Function
If enableIcon=true, tooltip function for the icon.
FlexDataGridColumn
  iconTooltipRenderer : IFactory = null
The renderer factory for the icon tooltip.
FlexDataGridColumn
  isEditableFunction : Function
A function that takes a IFlexDataGridCell, and returns true if this cell is editable.
FlexDataGridColumn
  isElastic : Boolean
[read-only] Returns true if the column is not right locked or IFixedWidth.
FlexDataGridColumn
  isFirstRightLocked : Boolean
[read-only]
FlexDataGridColumn
  isFirstUnLocked : Boolean
[read-only]
FlexDataGridColumn
  isLastleftLocked : Boolean
[read-only]
FlexDataGridColumn
  isLastrightLocked : Boolean
[read-only]
FlexDataGridColumn
  isLastUnLocked : Boolean
[read-only]
FlexDataGridColumn
  isLeftLocked : Boolean
[read-only] Returns true if the column is left locked.
FlexDataGridColumn
  isLocked : Boolean
[read-only] Returns true if the column is left or right locked.
FlexDataGridColumn
  isRightLocked : Boolean
[read-only] Returns true if the column is right locked.
FlexDataGridColumn
  isSortable : Boolean
[read-only] MX and Spark Grids implement the sortable differently, so to match the interface.
FlexDataGridColumn
  itemEditor : IFactory
A class factory for the instances of the item editor to use for the column, when it is editable.
FlexDataGridColumn
  itemEditorApplyOnValueCommit : Boolean
In Edit mode, we only apply the new value to the model object when the user either hits the enter key or the tab key after typing input.
FlexDataGridColumn
  itemEditorManagesPersistence : Boolean
Indicates that the item editors manage their own persitence and populating the dataprovider back with their changes, so the editorDataField is ignored and the DataGrid does not write back the value from the editor into the data provider.
FlexDataGridColumn
  itemEditorValidatorFunction : Function
Function to call before committing the value of the item editor to the data provider.
FlexDataGridColumn
  itemRenderer : IFactory
Each Cell in the grid is contains an instance of this class.
FlexDataGridColumn
  label : String
[read-only] For support in pickers
FlexDataGridColumn
  labelFunction : Function
A function that determines the text to display in this column.
FlexDataGridColumn
  labelFunction2 : Function
A specialized function that determines the text to display in this column, and takes the actual cell being evaluated as a parameter.
FlexDataGridColumn
  level : FlexDataGridColumnLevel
FlexDataGridColumn
  linkText : String
Deprecated.
FlexDataGridColumn
  minWidth : Number
The mininum width that a column can receive.
FlexDataGridColumn
  nestDepth : Number
[read-only] Gets the nest depth of the associated level.
FlexDataGridColumn
  owner : DisplayObjectContainer
[read-only]
FlexDataGridColumn
  percentWidth : Number
On creation complete, will use this to distribute the width of the grid among the visible columns in the specified ratio.
FlexDataGridColumn
  persistenceKey : String
For datagrids where there are multiple columns with the same header text, this field may be specified so that the persistence mechanism does not overwrite it.
FlexDataGridColumn
  resizable : Boolean
Flag that indicates whether the user is allowed to resize the width of the column.
FlexDataGridColumn
  searchField : String
The field that the filter should search on.
FlexDataGridColumn
  selectable : Boolean
Flag that indicates whether the items in the column are selectable.
FlexDataGridColumn
  showClearIconWhenHasText : Boolean = false
For filterControl=textInput, if you specify an Filter Icon Style, setting this variable to true will clear show the icon only when there is text in the box.
FlexDataGridColumn
  showIconOnCellHover : Boolean = false
If set to true, icon only shows when user hovers over the cell.
FlexDataGridColumn
  showIconOnRowHover : Boolean = false
If set to true, icon only shows when user hovers over the row.
FlexDataGridColumn
  sortable : Boolean = true
Flag that indicates whether the user can click on the header of this column to sort the data provider.
FlexDataGridColumn
  sortCaseInsensitive : Boolean = false
To sort this column insensitive of case.
FlexDataGridColumn
  sortCompareFunction : Function
A callback function that gets called when sorting the data in the column.
FlexDataGridColumn
  sortField : String
Similar to searchField, if you want to override what the database actually sorts when you sort this column
FlexDataGridColumn
  sortFieldName : String
[read-only]
FlexDataGridColumn
  sortNumeric : Boolean = false
To sort this column numerically.
FlexDataGridColumn
  styleOverrides : Object
[read-only] For 3.5 Compatibility
FlexDataGridColumn
  truncateToFit : Boolean
If this propery is true, the text that does not fit in the available size is truncated with "...".
FlexDataGridColumn
  uniqueIdentifier : String
A key used to uniquely identify a column.
FlexDataGridColumn
  useCurrentDataProviderForFilterComboBoxValues : Boolean
Not supported
FlexDataGridColumn
  useFilterDataProviderForItemEditor : Boolean
For list based item editors, setting this flag will use the dataprovider from the filter mechanism for the item editor.
FlexDataGridColumn
  useHandCursor : Boolean
FlexDataGridColumn
  useIconRollOverTimer : Boolean = true
Prior to dispatching the icon roll over, we use a timer so accidental roll over does not cause popups.
FlexDataGridColumn
  useLabelFunctionForFilterCompare : Boolean
Flag, that defaults to true, indicates that in client filter mode, use the label function to perform the search comparison as opposed to using the raw value of the "searchField" property of the column.
FlexDataGridColumn
  useLabelFunctionForSortCompare : Boolean
When you set to true, a custom sortCompareFunction is applied that uses the labelFunction instead of the dataField.
FlexDataGridColumn
  useUnderLine : Boolean
When true, if the renderer supports the text decoration style property, sets it to underline.
FlexDataGridColumn
  visible : Boolean
Flag that indicates whether the column is visible.
FlexDataGridColumn
  width : Number
The width of the column, in pixels.
FlexDataGridColumn
  wordWrap : Boolean
Flag to indicate that the text in this column can flow into multiple lines, based upon the width of the column.
FlexDataGridColumn
  x : Number
Current X position of this column relative to the container for its cells.
FlexDataGridColumn
Public Methods
 MethodDefined By
  
FlexDataGridColumn
  
deriveRenderer(chromeType:int = 5):IFactory
Depending on the specified chrome type, gets the appropriate renderer.
FlexDataGridColumn
  
dispatchEvent(event:Event):Boolean
[override] Whenever a tree datagrid event is dispatched at any column, we also dispatch it from the level so if someone wants to listen for an event at all columns...
FlexDataGridColumn
  
doFormat(retVal:String):String
The doFormat method returns formatted value on basis of the format properties (See description below) If the input is null, returns null.
FlexDataGridColumn
  
FlexDataGridColumn
  
getDistinctValues(dp:Object, collection:Array = null, addedCodes:Array = null, lvl:FlexDataGridColumnLevel = null):Array
Returns this list of distinct values for this column, in a list of arraycollection which will have properties data and label.
FlexDataGridColumn
  
getStyleValue(styleProp:String):*
Gets the style value for the provided style property at the current level.
FlexDataGridColumn
  
isValidStyleValue(val:*):Boolean
FlexDataGridColumn
  
itemToLabel(data:Object, cell:IFlexDataGridCell = null):String
Returns the String that the item renderer displays for the given data object.
FlexDataGridColumn
  
showPopup(popupData:Object):Object
Unused, for legacy purposes only
FlexDataGridColumn
Protected Methods
 MethodDefined By
  
Default Icon tooltip function.
FlexDataGridColumn
  
Default Icon tooltip function.
FlexDataGridColumn
  
nestedSortCompareFunction(obj1:Object, obj2:Object):int
function that is used when we have complex properties in the datafield.
FlexDataGridColumn
Events
 Event Summary Defined By
  Dispatched when the column width changes for any reason, including programmatic recalculation of column widthsFlexDataGridColumn
  Dispatched when the column x changes for any reason, including programmatic recalculation of column xFlexDataGridColumn
Styles
 Style Description Defined By
  
activeCellColor
Type: uint Format: Color CSS Inheritance: yes
The color of the cell directly under the mouse or if using keyboard navigation, current keyboard seed. The default value is #000000.
FlexDataGridColumn
  
alternatingItemColors
Type: Array Format: Color CSS Inheritance: yes
The colors to use for the backgrounds of the items in the grid. The value is an array of two or more colors. The backgrounds of the list items alternate among the colors in the array. The default value is undefined.
FlexDataGridColumn
  
alternatingTextColors
Type: Array Format: Color CSS Inheritance: yes
The colors to use for the text of the items in the grid. The value is an array of two colors. The text color of the list items alternate among the colors in the array. The default value is [ #000000, #000000].
FlexDataGridColumn
  
backgroundColor
Type: Array Format: Color CSS Inheritance: no
Background color, the color of the fill area.
FlexDataGridColumn
  
color
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component, including the component label. The default value for the Halo theme is 0x0B333C. The default value for the Spark theme is 0x000000.
FlexDataGridColumn
  
color
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component, including the component label. The default value for the Halo theme is 0x0B333C. The default value for the Spark theme is 0x000000.
FlexDataGridColumn
  
columnGroupClosedIcon
Type: Class Format: EmbeddedFile CSS Inheritance: no
The icon that is displayed next to a closed column group. The default value is TreeDisclosureClosed in the assets.swf file.
FlexDataGridColumn
  
columnGroupColors
Type: Array Format: Color CSS Inheritance: yes
An array of two colors used to draw the Column Groups background gradient. The first color is the top color. The second color is the bottom color. The default value is [0xFFFFFF, 0xE6E6E6].
FlexDataGridColumn
  
columnGroupDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border The default value is false.
FlexDataGridColumn
  
columnGroupHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
columnGroupHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
columnGroupHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the header horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
columnGroupOpenIcon
Type: Class Format: EmbeddedFile CSS Inheritance: no
The icon that is displayed next to an open column group. The default value is TreeDisclosureOpen in the assets.swf file.
FlexDataGridColumn
  
columnGroupRollOverColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the Column Groups. The default value is [0xE6E6E6,0xFFFFFF]
FlexDataGridColumn
  
columnGroupStyleName
Type: String CSS Inheritance: no
The name of a CSS style declaration for controlling other aspects of the appearance of the column groups. The default value is "columnGroupStyle".
FlexDataGridColumn
  
columnGroupVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
columnGroupVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
columnGroupVerticalGridLineThickness
Type: Number Format: Length
Thickness of the header vertical grid lines. The default value is 1.
FlexDataGridColumn
  
columnTextColor
Type: uint Format: Color CSS Inheritance: yes
The color of the cell text of each cell in this column. Usually these colors are controlled via the alternatingTextColors style property of the level or the grid. In case you wish to have this column have a specific text color, you may use this property. The default value is null
FlexDataGridColumn
  
disabledColor
Type: uint Format: Color CSS Inheritance: yes
Color of text in the component if it is disabled. The default value is 0xAAB3B3.
FlexDataGridColumn
  
disabledIcon

When enableIcon=true, this property specifies the icon to display when enabled=false. If the icon is dynamic, use the dataField to specify the url instead.
FlexDataGridColumn
  
disclosureClosedIcon
Type: Class Format: EmbeddedFile CSS Inheritance: no
The icon that is displayed next to a closed branch node of the navigation tree. The default value is TreeDisclosureClosed in the assets.swf file.
FlexDataGridColumn
  
disclosureOpenIcon
Type: Class Format: EmbeddedFile CSS Inheritance: no
The icon that is displayed next to an open branch node of the navigation tree. The default value is TreeDisclosureOpen in the assets.swf file.
FlexDataGridColumn
  
editItemColor
Type: Array Format: Color
The colors to use for the backgrounds of the items in the grid in the editable mode. The value is an array two colors. The default value is undefined.
FlexDataGridColumn
  
editorStyleName
Type: String
Style to apply to the item editor.
FlexDataGridColumn
  
editTextColor
Format: Color
The colors to use for the text of the items in the editable grid.
FlexDataGridColumn
  
expandCollapseIconBottom
Type: Number
When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom
FlexDataGridColumn
  
expandCollapseIconLeft
Type: Number
When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom
FlexDataGridColumn
  
expandCollapseIconRight
Type: Number
When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom
FlexDataGridColumn
  
expandCollapseIconTop
Type: Number
When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom
FlexDataGridColumn
  
filterColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background for the filter. The default value is [0xCFCFCF,0xCFCFCF]
FlexDataGridColumn
  
filterDrawTopBorder
Type: Boolean CSS Inheritance: no
FlexDataGridColumn
  
filterDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border, when horizontal gridlines are not drawn The default value is false.
FlexDataGridColumn
  
filterHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
filterHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
filterHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the filter horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
filterIcon

When filterControl=textInput, the icon that is displayed inside the textbox, based on the insideIconPosition property.
FlexDataGridColumn
  
filterIconPosition
Type: String
When filterControl=textInput, the position of the icon that is displayed inside the textbox. Default 'right'
FlexDataGridColumn
  
filterPaddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
filterPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
filterPaddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
filterPaddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
filterRollOverColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the filter. The default value is [0xCFCFCF,0xCFCFCF]
FlexDataGridColumn
  
filterVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
filterVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
filterVerticalGridLineThickness
Type: Number Format: Length
Thickness of the filter vertical grid lines. The default value is 1.
FlexDataGridColumn
  
fontAntiAliasType
Type: String CSS Inheritance: yes
Sets the antiAliasType property of internal TextFields. The possible values are "normal" (flash.text.AntiAliasType.NORMAL) and "advanced" (flash.text.AntiAliasType.ADVANCED).

The default value is "advanced", which enables advanced anti-aliasing for the font. Set to "normal" to disable the advanced anti-aliasing.

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you cannot apply it to some characters and not others.

The default value is "advanced".

See also

flash.text.TextField
flash.text.AntiAliasType
FlexDataGridColumn
  
fontFamily
Type: String CSS Inheritance: yes
Name of the font to use. Unlike in a full CSS implementation, comma-separated lists are not supported. You can use any font family name. If you specify a generic font name, it is converted to an appropriate device font. The default font for the Halo theme is "Verdana". The default font for the Spark theme is "Arial".
FlexDataGridColumn
  
fontGridFitType
Type: String CSS Inheritance: yes
Sets the gridFitType property of internal TextFields that represent text in Flex controls. The possible values are "none" (flash.text.GridFitType.NONE), "pixel" (flash.text.GridFitType.PIXEL), and "subpixel" (flash.text.GridFitType.SUBPIXEL).

This property only applies when you are using an embedded font and the fontAntiAliasType property is set to "advanced".

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is "pixel".

See also

flash.text.TextField
flash.text.GridFitType
FlexDataGridColumn
  
fontSharpness
Type: Number CSS Inheritance: yes
Sets the sharpness property of internal TextFields that represent text in Flex controls. This property specifies the sharpness of the glyph edges. The possible values are Numbers from -400 through 400.

This property only applies when you are using an embedded font and the fontAntiAliasType property is set to "advanced".

This style has no effect for system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is 0.

See also

flash.text.TextField
FlexDataGridColumn
  
fontSize
Type: Number Format: Length CSS Inheritance: yes
Height of the text, in pixels. In the Halo theme, the default value is 10 for all controls except the ColorPicker control. For the Halo themed ColorPicker control, the default value is 11. In the Spark theme, the default value is 12 for all controls except the ColorPicker control. For the Spark themed ColorPicker control, the default value is 11.
FlexDataGridColumn
  
fontStyle
Type: String CSS Inheritance: yes
Determines whether the text is italic font. Recognized values are "normal" and "italic". The default value is "normal".
FlexDataGridColumn
  
fontThickness
Type: Number CSS Inheritance: yes
Sets the thickness property of internal TextFields that represent text in Flex controls. This property specifies the thickness of the glyph edges. The possible values are Numbers from -200 to 200.

This property only applies when you are using an embedded font and the fontAntiAliasType property is set to "advanced".

This style has no effect on system fonts.

This style applies to all the text in a TextField subcontrol; you can't apply it to some characters and not others.

The default value is 0.

See also

flash.text.TextField
FlexDataGridColumn
  
fontWeight
Type: String CSS Inheritance: yes
Determines whether the text is boldface. Recognized values are normal and bold. The default value for Button controls is bold. The default value for all other controls is normal.
FlexDataGridColumn
  
footerColors
Type: Array Format: Color CSS Inheritance: yes
An array of two colors used to draw the footer background gradient. The first color is the top color. The second color is the bottom color. The default value is [0xCFCFCF, 0xCCCCCC].
FlexDataGridColumn
  
footerDrawTopBorder
Type: Boolean CSS Inheritance: no
FlexDataGridColumn
  
footerDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border, when horizontal gridlines are not drawn The default value is false.
FlexDataGridColumn
  
footerHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
footerHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
footerHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the footer horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
footerPaddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
footerPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
footerPaddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
footerPaddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
footerRollOverColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the footer. The default value is [0xCCCCCC,0xCFCFCF]
FlexDataGridColumn
  
footerStyleName
Type: String CSS Inheritance: no
The name of a CSS style declaration for controlling other aspects of the appearance of the column headers. The default value is "dataGridStyles".
FlexDataGridColumn
  
footerVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
footerVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
footerVerticalGridLineThickness
Type: Number Format: Length
Thickness of the footer vertical grid lines. The default value is 1.
FlexDataGridColumn
  
headerColors
Type: Array Format: Color CSS Inheritance: yes
An array of two colors used to draw the header background gradient. The first color is the top color. The second color is the bottom color. The default value is [0xFFFFFF, 0xE6E6E6].
FlexDataGridColumn
  
headerDrawTopBorder
Type: Boolean CSS Inheritance: no
FlexDataGridColumn
  
headerDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border The default value is false.
FlexDataGridColumn
  
headerHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
headerHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
headerHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the header horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
headerIcon

When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.
FlexDataGridColumn
  
headerPaddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
headerPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
headerPaddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
headerPaddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
headerRollOverColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the header. The default value is [0xE6E6E6,0xFFFFFF]
FlexDataGridColumn
  
headerStyleName
Type: String CSS Inheritance: no
The name of a CSS style declaration for controlling other aspects of the appearance of the column headers. The default value is "dataGridStyles".
FlexDataGridColumn
  
headerVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
headerVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
headerVerticalGridLineThickness
Type: Number Format: Length
Thickness of the header vertical grid lines. The default value is 1.
FlexDataGridColumn
  
horizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
horizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
horizontalGridLineThickness
Type: Number Format: Length CSS Inheritance: yes
Thickness of the horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
icon

When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.
FlexDataGridColumn
  
iconBottom
Type: Number
When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom
FlexDataGridColumn
  
iconLeft
Type: Number
When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom
FlexDataGridColumn
  
iconRight
Type: Number
When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom
FlexDataGridColumn
  
iconTop
Type: Number
When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom
FlexDataGridColumn
  
kerning
Type: Boolean CSS Inheritance: yes
A Boolean value that indicates whether kerning is enabled (true) or disabled (false). Kerning adjusts the gap between certain character pairs to improve readability, and should be used only when necessary, such as with headings in large fonts. Kerning is supported for embedded fonts only. Certain fonts, such as Verdana, and monospaced fonts, such as Courier New, do not support kerning. The default value is false.
FlexDataGridColumn
  
letterSpacing
Type: Number CSS Inheritance: yes
The number of additional pixels to appear between each character. A positive value increases the character spacing beyond the normal spacing, while a negative value decreases it. The default value is 0.
FlexDataGridColumn
  
locale
Type: String CSS Inheritance: yes
The locale of the text displayed by this component.

FTE and TLF use this locale to map Unicode characters to font glyphs and to find fallback fonts.

Note: This style only applies when an MX component specifies UIFTETextField as its textFieldClass.

The default value is "en".
FlexDataGridColumn
  
multiColumnSortNumberHeight
Type: Number CSS Inheritance: no
The height of the numeric value representing the order of the column sort. The default value is 15.
FlexDataGridColumn
  
multiColumnSortNumberStyleName
Type: String CSS Inheritance: no
The name of a CSS style declaration for controlling other aspects of the appearance of the numeric value representing the order of the column sort. The default value is "multiColumnSortNumberStyle".
FlexDataGridColumn
  
multiColumnSortNumberWidth
Type: Number CSS Inheritance: no
The width of the numeric value representing the order of the column sort. The default value is 10.
FlexDataGridColumn
  
overIcon

When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.
FlexDataGridColumn
  
paddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
paddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
paddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
paddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
pagerColors
Type: Array Format: Color CSS Inheritance: yes
An array of two colors used to draw the pager background gradient. The first color is the top color. The second color is the bottom color. The default value is [0xCCCCCC, 0xCCCCCC].
FlexDataGridColumn
  
pagerDrawTopBorder
Type: Boolean CSS Inheritance: no
FlexDataGridColumn
  
pagerDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border, when horizontal gridlines are not drawn The default value is false.
FlexDataGridColumn
  
pagerHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
pagerHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
pagerHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the pager horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
pagerPaddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
pagerPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
pagerPaddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
pagerPaddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
pagerRollOverColors
Type: Array Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the pager. The default value is [0xE6E6E6,0xFFFFFF]
FlexDataGridColumn
  
pagerVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
pagerVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
pagerVerticalGridLineThickness
Type: Number Format: Length
Thickness of the pager vertical grid lines. The default value is 1.
FlexDataGridColumn
  
rendererColors
Type: Array Format: Color CSS Inheritance: yes
An array of two colors used to draw the renderer background gradient. The first color is the top color. The second color is the bottom color. The default value is [0xFFFFFF, 0xFFFFFF].
FlexDataGridColumn
  
rendererDrawTopBorder
Type: Boolean CSS Inheritance: no
FlexDataGridColumn
  
rendererDrawTopBorder
Type: Boolean CSS Inheritance: no
Flag that indicates whether to force the top border, when horizontal gridlines are not drawn The default value is false.
FlexDataGridColumn
  
rendererHorizontalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the horizontal grid lines.
FlexDataGridColumn
  
rendererHorizontalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines. The default value is false.
FlexDataGridColumn
  
rendererHorizontalGridLineThickness
Type: Number Format: Length
Thickness of the renderer horizontal grid lines. The default value is 1.
FlexDataGridColumn
  
rendererPaddingBottom
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 2.
FlexDataGridColumn
  
rendererPaddingLeft
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 1.
FlexDataGridColumn
  
rendererPaddingRight
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's right border and the right edge of its content area. The default value is 0.
FlexDataGridColumn
  
rendererPaddingTop
Type: Number Format: Length CSS Inheritance: no
Number of pixels between the control's left border and the left edge of its content area. The default value is 2.
FlexDataGridColumn
  
rendererRollOverColors
Type: uint Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over a level renderer. The default value is [0xFFFFFF,0xFFFFFF]
FlexDataGridColumn
  
rendererVerticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
rendererVerticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
rendererVerticalGridLineThickness
Type: Number Format: Length
Thickness of the renderer vertical grid lines. The default value is 1.
FlexDataGridColumn
  
rollOverColor
Type: uint Format: Color CSS Inheritance: yes
The color of the row background when the user rolls over the row. The default value for the Halo theme is 0xB2E1FF. The default value for the Spark theme is 0xCEDBEF.
FlexDataGridColumn
  
selectionColor
Type: uint Format: Color CSS Inheritance: yes
The color of the background of a renderer when the user selects it. The default value for the Halo theme is 0x7FCEFF. The default value for the Spark theme is 0xA8C6EE.
FlexDataGridColumn
  
selectionColor
Type: uint Format: Color CSS Inheritance: yes
The color of the background for the row when the user selects an item renderer in the row. The default value for the Halo theme is 0x7FCEFF. The default value for the Spark theme is 0xA8C6EE.
FlexDataGridColumn
  
selectionDisabledColor
Type: uint Format: Color CSS Inheritance: yes
The color of the background of a renderer when the component is disabled. The default value is null.
FlexDataGridColumn
  
sortArrowSkin
Type: Class CSS Inheritance: no
The class to use as the skin for the arrow that indicates the column sort direction. The default value for the Halo theme is mx.skins.halo.DataGridSortArrow. The default value for the Spark theme is mx.skins.spark.DataGridSortArrow.
FlexDataGridColumn
  
textAlign
Type: String CSS Inheritance: yes
Alignment of text within a container. Possible values are "left", "right", or "center".

The default value for most components is "left". For the FormItem component, the default value is "right". For the Button, LinkButton, and AccordionHeader components, the default value is "center", and this property is only recognized when the labelPlacement property is set to "left" or "right". If labelPlacement is set to "top" or "bottom", the text and any icon are centered.

FlexDataGridColumn
  
textDecoration
Type: String CSS Inheritance: yes
Determines whether the text is underlined. Possible values are "none" and "underline". The default value is "none".
FlexDataGridColumn
  
textDisabledColor
Type: uint Format: Color CSS Inheritance: yes
The color of the text of a renderer when the component is disabled. The default value is 0xDDDDDD.
FlexDataGridColumn
  
textFieldClass
Type: Class CSS Inheritance: no
The class implementing IUITextField that is used by this component to render text.

It can be set to either the mx.core.UITextField class (to use the classic TextField class built into Flash Player) or the mx.core.UIFTETextField class (to use the Text Layout Framework to get improved text rendering, including bidirectional layout).

The default value is mx.core.UITextField.
FlexDataGridColumn
  
textIndent
Type: Number Format: Length CSS Inheritance: yes
Offset of first line of text from the left side of the container, in pixels. The default value is 0.
FlexDataGridColumn
  
textRollOverColor
Type: uint Format: Color CSS Inheritance: yes
Color of the text when the user rolls over a row. The default value is 0x000000.
FlexDataGridColumn
  
textSelectedColor
Type: uint Format: Color CSS Inheritance: yes
Color of the text when the user selects a row. The default value is 0x000000.
FlexDataGridColumn
  
verticalGridLineColor
Type: uint Format: Color CSS Inheritance: yes
The color of the vertical grid lines. The default value is 0x666666.
FlexDataGridColumn
  
verticalGridLines
Type: Boolean CSS Inheritance: no
Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines. The default value is true.
FlexDataGridColumn
  
verticalGridLineThickness
Type: Number Format: Length CSS Inheritance: yes
Thickness of the vertical grid lines. The default value is 1.
FlexDataGridColumn
Public Constants
 ConstantDefined By
  COLUMN_WIDTH_MODE_FIT_TO_CONTENT : String = fitToContent
[static]
FlexDataGridColumn
  COLUMN_WIDTH_MODE_FIXED : String = fixed
[static]
FlexDataGridColumn
  COLUMN_WIDTH_MODE_NONE : String = none
[static]
FlexDataGridColumn
  COLUMN_WIDTH_MODE_PERCENT : String = percent
[static]
FlexDataGridColumn
  DEFAULT_COLUMN_WIDTH : Number = 100
[static] Default width of the columns
FlexDataGridColumn
  FORMAT_CURRENCY : String = currency
[static] Used by the doFormat method.
FlexDataGridColumn
  FORMAT_DATE : String = date
[static] Used by the doFormat method.
FlexDataGridColumn
  FORMAT_DATE_TIME : String = datetime
[static] Used by the doFormat method.
FlexDataGridColumn
  FORMAT_NONE : String = none
[static] Used by the doFormat method.
FlexDataGridColumn
  FORMAT_NUMBER : String = number
[static] Used by the doFormat method.
FlexDataGridColumn
  FORMAT_TIME : String = time
[static] Used by the doFormat method.
FlexDataGridColumn
Property Detail
blankValuesLabelproperty
public var blankValuesLabel:String = [None]

Value for the blank item in multi select combobox filter control Please note, there is a space in the front of this string so it shows up right below the "All" option.

calculatedHeaderHeightproperty 
calculatedHeaderHeight:Number

The height on basis of the data to be displayed. If there is a header renderer, or if there is headerWordWrap we calulate this, otherwise, it is set to what ever the levels.rowHeight is.


Implementation
    public function get calculatedHeaderHeight():Number
    public function set calculatedHeaderHeight(value:Number):void
cellBackgroundColorFunctionproperty 
cellBackgroundColorFunction:Function

A function that can be used to control the background color of each cell in this column. If this function is null or returns null, the cell will use the alternatingItemColors style property. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data (data) as well as other related information found in the documentation of the FlexDataGridDataCell class. This function should return an array of colors for a gradient fill, or a single color hex code (uint) for a single color fill.


Implementation
    public function get cellBackgroundColorFunction():Function
    public function set cellBackgroundColorFunction(value:Function):void
cellBorderFunctionproperty 
cellBorderFunction:Function

A function that lets you control the border drawing mechanism for each cell. By default, each cell will draw a 1px wide line to its right (if XXXXVerticalGridLines=true) and bottom (if XXXXhorizontalGridLines=true) ends. This function offers you the opportunity to hook into this mechanism, and draw your own border using the graphics property of the FlexDataGridCell object, that is passed in as a parameter to this function. If this function returns false, the default border is not drawn.


Implementation
    public function get cellBorderFunction():Function
    public function set cellBorderFunction(value:Function):void
cellCustomDrawFunctionproperty 
cellCustomDrawFunction:Function

A function that lets you control the background drawing mechanism for each cell. By default, each cell will draw a background on basis of the XXXXColors style property and XXXXRollOverColors style property, where XXXX= header,filter,pager,footer,renderer or blank. This function offers you the opportunity to hook into this mechanism, and draw your own background using the graphics property of the FlexDataGridCell object, that is passed in as a parameter to this function. If this function returns false, the default background is not drawn.


Implementation
    public function get cellCustomDrawFunction():Function
    public function set cellCustomDrawFunction(value:Function):void
cellDisabledFunctionproperty 
cellDisabledFunction:Function

A function that can be used to control the enabled flag of each cell in this column. If this function is null or returns null, the cell will be enabled, selectable, and rollovers will work. If this function returns false, the cell will not be selectable, the item renderers will be disabled and it will have no rollovers. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data (data) as well as other related information found in the documentation of the FlexDataGridDataCell class. This function should true or false.


Implementation
    public function get cellDisabledFunction():Function
    public function set cellDisabledFunction(value:Function):void
cellTextColorFunctionproperty 
cellTextColorFunction:Function

A function that can be used to control the Text color of each cell in this column. If this function is null or returns null, the cell Text will use the alternatingTextColors style property. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data (data) as well as other related information found in the documentation of the FlexDataGridDataCell class. This function should return a single color hex code (uint).


Implementation
    public function get cellTextColorFunction():Function
    public function set cellTextColorFunction(value:Function):void
clearFilterOnIconClickproperty 
clearFilterOnIconClick:Boolean

For filterControl=textInput, if you specify an Filter Icon Style, setting this variable to true will clear the text on icon click. Used for a "clear" icon.


Implementation
    public function get clearFilterOnIconClick():Boolean
    public function set clearFilterOnIconClick(value:Boolean):void
clickBehaviorproperty 
clickBehavior:String  [read-only]

Unused, for legacy purposes only


Implementation
    public function get clickBehavior():String
columnGroupproperty 
columnGroup:FlexDataGridColumnGroup

The group, if any that this column belongs to.


Implementation
    public function get columnGroup():FlexDataGridColumnGroup
    public function set columnGroup(value:FlexDataGridColumnGroup):void
columnLockModeproperty 
columnLockMode:String

In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns. The grid supports the following selection modes: 1) LOCK_MODE_LEFT 2) LOCK_MODE_RIGHT 3) LOCK_MODE_NONE If set to left, the column will be locked to the left and not scroll horizontally. If set to right, the column will be locked to the right, and not scroll horizontally. Please note, column lock modes only make sense if the horizontalScrollPolicy of the grid is set to "on" or "auto", since if there is no horizontal scrollbar, locked columns behave like unlocked columns, because there is no horizontal scroll. This horizontal scroll policy of the grid defaults to "off", and changing this to "on" or "auto" affects the calculations that we perform in deciding the optimal column widths, in that columns are no longer "squished" or "expanded" to fit the visible width of the grid. The left and right locked section for grids with flat data are wide enough to accommodate the left and right locked columns respectively. For nested grids, both left and right locked sections are wide enough to accommodate the widest left and right locked columns at each level, and for the leftLocked section, we add the width of the disclosure cells which is set via the nestIndent property for each level (it gets multiplied by the nestDepth for a tree look). There are a few restrictions with left and right locked columns. They cannot be re-ordered. Resizing them results in resizing the section that they are in. Finally, resizing them is very slightly slower than resizing the unlocked columns, because we have to redraw the grid on basis of updated section widths.


Implementation
    public function get columnLockMode():String
    public function set columnLockMode(value:String):void
columnWidthModeproperty 
columnWidthMode:String

The columnWidthMode property on the column specifies how the column widths are applied. This property defaults to "none". Flexicious Ultimate provides a rich mechanism to control column widths. Column widths are a complicated topic because there are a number of scenarios and rules that we need to account for

Finally, there are the below calculations once the column widths are allocated: Left and right locked columns do not support column width mode, it is ignored for these. Finally, with multi level grids, if the hierarchy's columns width in the top level is smaller than the next level's width (and the horizontal scroll policy of the grid is "on"/"auto"), the horizontal scroller will be calculated only by the top level's width, making some columns in the next level unreachable. The recommendation is to give a large column width to the last top level column, which is large enough so that sum of column widths at top level is larger than the sum of column widths at the bottom level. Values : none,fixed,percent,fitToContent

The default value is auto.


Implementation
    public function get columnWidthMode():String
    public function set columnWidthMode(value:String):void
columnWidthModeFitToContentExcludeHeaderproperty 
columnWidthModeFitToContentExcludeHeader:Boolean

Whether or not to include the header text in the calculation of the column width.

The default value is false.


Implementation
    public function get columnWidthModeFitToContentExcludeHeader():Boolean
    public function set columnWidthModeFitToContentExcludeHeader(value:Boolean):void
columnWidthOffsetproperty 
columnWidthOffset:int

A value in pixels, that may be used to add/remove width that gets calculated when you use the columnWidthMode property Use if you have custom renderers or icons.


Implementation
    public function get columnWidthOffset():int
    public function set columnWidthOffset(value:int):void
dataCellRendererproperty 
dataCellRenderer:IFactory

Container for the item renderer. Needs to implement IFlexDataGridDataCell. Defaults to FlexDataGridDataCell


Implementation
    public function get dataCellRenderer():IFactory
    public function set dataCellRenderer(value:IFactory):void
dataFieldproperty 
dataField:String

The property to display in this column. If you specify a complex property ,the grid takes over the sortCompareFunction, and the sortField property is ignored.


Implementation
    public function get dataField():String
    public function set dataField(value:String):void
draggableproperty 
draggable:Boolean

Flag that indicates whether the user is allowed to resize the width of the column. Please note, left and right locked columns are not resizable

The default value is true.


Implementation
    public function get draggable():Boolean
    public function set draggable(value:Boolean):void
editableproperty 
editable:Boolean

Flag that indicates whether the items in the column are editable.


Implementation
    public function get editable():Boolean
    public function set editable(value:Boolean):void
editorDataFieldproperty 
editorDataField:String

The name of the property of the item editor that contains the new data for the list item.


Implementation
    public function get editorDataField():String
    public function set editorDataField(value:String):void
enableCellClickRowSelectproperty 
enableCellClickRowSelect:Boolean

Flag to enable selection of a row when a cell within that row is clicked. You may choose to set this to false when you set selectable =true. When the user clicks on a cell, the row is automatically selected when the selection mode is either single row or multiple rows. When you have cells that are selectable, the user may wish to select the text in the cell as opposed to selecting the row. Setting this flag to false will disable the row selection when any cell within this column is clicked.

The default value is true.


Implementation
    public function get enableCellClickRowSelect():Boolean
    public function set enableCellClickRowSelect(value:Boolean):void
enableDataCellOptmizationproperty 
enableDataCellOptmization:Boolean

Flag to turn on the highly optimized FlexDataGridDataCell3. FlexDataGridDataCell3 is a light weight class introduced in Flexicious 2.7, that renders 30% faster than its predecessor, FlexDataGridDataCell2. Since it is very lightweight, it only supports the basics of text rendering, like fontFamily, fontSize, fontWeight, fontStyle ,color, background, textAlign, and textDecoration. In most cases, this covers the range of things that a typical application developer needs. But incase you need advanced text capabilities, like TLF fonts, RTL, etc, you may need to turn off this flag either on the grid, or on specific columns that you need advanced features on. Once FDG3 is fully settled in the field, this flag will be removed and we will retire FDGC2. As of right now, the FDGC3 cannot handle wordwrap, doubleclick, truncateToFit, handCursor. The grid automatically swaps out the FDG3 with FDG when you set any of these flags. If you notice any inconsistency when you enable this flag, you can turn this same flag off for the column that you notice the inconsistency on, and the grid will fall back to the older mechanism to display that column. Please send a message to support


Implementation
    public function get enableDataCellOptmization():Boolean
    public function set enableDataCellOptmization(value:Boolean):void
enableExpandCollapseIconproperty 
public var enableExpandCollapseIcon:Boolean = false

For hierarchical datagrids, instead of having a separate column for icons, this flag will be used to embed an icon based on disclosureOpenIcon and disclosureClosedIcon within this column that will control the expand collapse of the row.

enableFilterAutoCompleteproperty 
enableFilterAutoComplete:Boolean

When filterControl=textInput, setting this flag to true will set the enableAutoComplete flag on the associated TextInput control


Implementation
    public function get enableFilterAutoComplete():Boolean
    public function set enableFilterAutoComplete(value:Boolean):void
enableHierarchicalNestIndentproperty 
enableHierarchicalNestIndent:Boolean

For grouped datagrids, when a single column represents entities from various nest levels, its nice to visually indent them. Set this parameter to true for such columns If you wish to programatically control the padding, you could do so via the rendererInitialized event on the grid.

The default value is true.


Implementation
    public function get enableHierarchicalNestIndent():Boolean
    public function set enableHierarchicalNestIndent(value:Boolean):void
enableIconproperty 
enableIcon:Boolean

Flag to enable/disable icons within this cell. For columns that have icons (with or without text), you can


Implementation
    public function get enableIcon():Boolean
    public function set enableIcon(value:Boolean):void
enableLocalStylesproperty 
public var enableLocalStyles:Boolean = true

Added to avoid flicker

enableRecursiveSearchproperty 
public var enableRecursiveSearch:Boolean = false

For Grouped datagrids, searching on this column will cause match current item, as well as any of its children. If any children match, this item matches as well.

excludeFromExportproperty 
excludeFromExport:Boolean

If set to true, this column wont be included in the export mechanism by default.


Implementation
    public function get excludeFromExport():Boolean
    public function set excludeFromExport(value:Boolean):void
excludeFromPrintproperty 
excludeFromPrint:Boolean

If set to true, this column wont be included in the print mechanism by default.


Implementation
    public function get excludeFromPrint():Boolean
    public function set excludeFromPrint(value:Boolean):void
excludeFromSettingsproperty 
excludeFromSettings:Boolean

If set to true, this column wont be included in the settings popup by default.


Implementation
    public function get excludeFromSettings():Boolean
    public function set excludeFromSettings(value:Boolean):void
filterCellRendererproperty 
filterCellRenderer:IFactory

Container for the footer renderer. Needs to inherit from FlexDataGridFooterCell. Defaults to FlexDataGridFooterCell


Implementation
    public function get filterCellRenderer():IFactory
    public function set filterCellRenderer(value:IFactory):void
filterComboBoxBuildFromGridproperty 
filterComboBoxBuildFromGrid:Boolean

Flag, if set to true, will automatically build this collection on basis of distinct values in the grid.


Implementation
    public function get filterComboBoxBuildFromGrid():Boolean
    public function set filterComboBoxBuildFromGrid(value:Boolean):void
filterComboBoxDataFieldproperty 
filterComboBoxDataField:String

Used in conjunction with the


Implementation
    public function get filterComboBoxDataField():String
    public function set filterComboBoxDataField(value:String):void
filterComboBoxDataProviderproperty 
filterComboBoxDataProvider:ArrayCollection

Dataprovider to use to build the list of values to dipsplay in the filter control, only applicable if the filterControl is a


Implementation
    public function get filterComboBoxDataProvider():ArrayCollection
    public function set filterComboBoxDataProvider(value:ArrayCollection):void

See also

Note:
com.flexicious.controls.interfaces.filters.IMultiSelectFilterControl,
inherit from ISelectFilterControl, and
com.flexicious.controls.MultiSelectComboBox
com.flexicious.controls.RadioButtonList
com.flexicious.controls.ComboBox
all inherently implement
Note 2: It is not required to set this field. You may set the
property to true which will automatically build this collection on basis of distinct values in the grid.
filterComboBoxLabelFieldproperty 
filterComboBoxLabelField:String

Used in conjunction with the


Implementation
    public function get filterComboBoxLabelField():String
    public function set filterComboBoxLabelField(value:String):void
filterComboBoxWidthproperty 
filterComboBoxWidth:Number

Returns the width of the dropdown. Applicable only when the filter controls are comboboxes


Implementation
    public function get filterComboBoxWidth():Number
    public function set filterComboBoxWidth(value:Number):void
filterCompareFunctionproperty 
public var filterCompareFunction:Function = null

A function that takes an item, and a filterExpression, and returns true or false on basis of whether the provided item matches the filterExpression. Please note, the filterExpression has a pointer to the iFilterControl that it was created from.

filterComparisionTypeproperty 
filterComparisionType:String

This is usually automatically set, you dont have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date

The default value is auto.


Implementation
    public function get filterComparisionType():String
    public function set filterComparisionType(value:String):void
filterControlproperty 
filterControl:String

A control that implements


Implementation
    public function get filterControl():String
    public function set filterControl(value:String):void

See also

filterConverterFunctionproperty 
public var filterConverterFunction:Function = null

A function that takes an item, and returns a processed value for comparison. For example, if your backend sends down strings that represents a date, wire this function up and return a date object for comparison purposes.

filterDateRangeOptionsproperty 
filterDateRangeOptions:Array

Applicable only when the filtercontrol is a


Implementation
    public function get filterDateRangeOptions():Array
    public function set filterDateRangeOptions(value:Array):void

See also

filterOperationproperty 
filterOperation:String

The operator to apply when doing the conversion. See FILTER_OPERATION_TYPE constant values from com.flexicious.grids.filters.FilterExpression


Implementation
    public function get filterOperation():String
    public function set filterOperation(value:String):void
filterRendererproperty 
filterRenderer:IFactory

The actual control to render inside the header column. This control must implement the com.flexicious.controls.interfaces.filters.IFilterControl interface.

This property can be used as the source for data binding.


Implementation
    public function get filterRenderer():IFactory
    public function set filterRenderer(value:IFactory):void
filterTriggerEventproperty 
filterTriggerEvent:String

The event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event.


Implementation
    public function get filterTriggerEvent():String
    public function set filterTriggerEvent(value:String):void

See also

filterWaterMarkproperty 
filterWaterMark:String

Applicable only if the filter control is TextInput. If set, sets the watermark of the TextInput filter to the value specified.


Implementation
    public function get filterWaterMark():String
    public function set filterWaterMark(value:String):void
footerAlignproperty 
footerAlign:String

The alignment of the footer label


Implementation
    public function get footerAlign():String
    public function set footerAlign(value:String):void
footerCellRendererproperty 
footerCellRenderer:IFactory

Container for the footer renderer. Needs to inherit from FlexDataGridFooterCell. Defaults to FlexDataGridFooterCell


Implementation
    public function get footerCellRenderer():IFactory
    public function set footerCellRenderer(value:IFactory):void
footerFormatterproperty 
footerFormatter:Formatter

Formatter for the footer label


Implementation
    public function get footerFormatter():Formatter
    public function set footerFormatter(value:Formatter):void
footerLabelproperty 
footerLabel:String

The label of the footer


Implementation
    public function get footerLabel():String
    public function set footerLabel(value:String):void
footerLabelFunctionproperty 
footerLabelFunction:Function

A function that will return the footer label


Implementation
    public function get footerLabelFunction():Function
    public function set footerLabelFunction(value:Function):void
footerLabelFunction2property 
footerLabelFunction2:Function

Similar to footerLabelFunction, but takes the footer cell instead of the column. The footer label function is present for backwards compatibility


Implementation
    public function get footerLabelFunction2():Function
    public function set footerLabelFunction2(value:Function):void
footerOperationproperty 
footerOperation:String

The operation to apply to the footer


Implementation
    public function get footerOperation():String
    public function set footerOperation(value:String):void
footerOperationPrecisionproperty 
footerOperationPrecision:int

Precision for the footer label


Implementation
    public function get footerOperationPrecision():int
    public function set footerOperationPrecision(value:int):void
footerRendererproperty 
footerRenderer:IFactory

A renderer for the footer


Implementation
    public function get footerRenderer():IFactory
    public function set footerRenderer(value:IFactory):void
footerWordWrapproperty 
footerWordWrap:Boolean

The alignment of the header label


Implementation
    public function get footerWordWrap():Boolean
    public function set footerWordWrap(value:Boolean):void
formatproperty 
format:String

Used by the doFormat method.


Implementation
    public function get format():String
    public function set format(value:String):void
formatterproperty 
public var formatter:Object

Used by the doFormat method. Formatter to use when format not equals none. On basis of format, a new formatter is initialized. If you wish to override the format of the default formatter, you can provide your own formatter here.

formatterCurrencySymbolproperty 
public var formatterCurrencySymbol:String

For currency formatter, the currency symbol. Defaults to blank value.

formatterDateFormatStringproperty 
public var formatterDateFormatString:String

For date formatters, the date format. Defaults to blank value. Initialized on basis of date format. If you wish to override the default format, you can use this string.

formatterPrecisionproperty 
public var formatterPrecision:Number = 2

For number and currency formatters, the default number of digits after the decimal point. Defaults to 2

hasComplexDisplayproperty 
public var hasComplexDisplay:Boolean = false

Performance optimization, is set to true if there is a complex fieldname or a labelFunction or labelFunction2

headerAlignproperty 
headerAlign:String

The alignment of the header label


Implementation
    public function get headerAlign():String
    public function set headerAlign(value:String):void
headerCellRendererproperty 
headerCellRenderer:IFactory

Container for the header renderer. Needs to inherit from FlexDataGridHeaderCell. Defaults to FlexDataGridHeaderCell


Implementation
    public function get headerCellRenderer():IFactory
    public function set headerCellRenderer(value:IFactory):void
headerMenuActionsproperty 
public var headerMenuActions:Array

A list of ToolbarActions to show when the user hovers their mouse over the header cell of this column. Defaults to ColumnHeaderOperationBehavior.DEFAULT_COLUMN_HEADER_OPERATIONS.

headerRendererproperty 
headerRenderer:IFactory

The class factory for item renderer instances that display the column header for the column.


Implementation
    public function get headerRenderer():IFactory
    public function set headerRenderer(value:IFactory):void
headerTextproperty 
headerText:String

Text for the header of this column. By default, the DataGrid control uses the value of the dataField property as the header text.


Implementation
    public function get headerText():String
    public function set headerText(value:String):void
headerToolTipproperty 
headerToolTip:String

Tooltip to apply to the header. Setting this at runtime has no effect, need to set it before init. If you set it after, call rebuild.


Implementation
    public function get headerToolTip():String
    public function set headerToolTip(value:String):void
headerWordWrapproperty 
headerWordWrap:Boolean

The alignment of the header label


Implementation
    public function get headerWordWrap():Boolean
    public function set headerWordWrap(value:Boolean):void
hideHeaderTextproperty 
public var hideHeaderText:Boolean = false

The header text is used in the column picker, export, etc. However, if you do not wish for it to be displayed in the view, set this to true. Used for IconColumns.

hideTextproperty 
public var hideText:Boolean = false

In scenarios where you only want to display the icon, set enableIcon=true, and hideText=true;

iconFieldproperty 
iconField:String

The property on the model object that returns the url to the icon, if you wish to show different icons for each cell. Defaults to data field. If there are scenarios where you wish to show both the icon as well as the text, you can specify the iconField and the dataField. Otherwise, where you show just the icon, you can leave the iconField blank and have the data field specify the value of the icon url.


Implementation
    public function get iconField():String
    public function set iconField(value:String):void
iconFunctionproperty 
public var iconFunction:Function

If enableIcon=true, icon function for the icon. Default implementation has the following logic: 1) If this is a header cell, returns the value of the headerIcon style property 2) Else if this is a data cell, and the value of either the icon,overIcon or disabledIcon style property on basis of the passed in state is available, returns it. 3) Else if this is a data cell, and the iconField is not empty, returns the value of the iconField for the row data Should take an IFlexDataGridCell object.

iconHandCursorproperty 
public var iconHandCursor:Boolean = false

If enableIcon=true, enables hand cursor on the icon

iconMouseOverDelayproperty 
public var iconMouseOverDelay:Number = 500

The delay to wait until dispatching the iconMouseOver event when the user mouse the mouse over the icon. Defaults to 500

iconToolTipproperty 
public var iconToolTip:String

If enableIcon=true, tooltip for the icon

iconToolTipFunctionproperty 
public var iconToolTipFunction:Function

If enableIcon=true, tooltip function for the icon. Default implementation returns the value of the iconToolTip. Should take an IFlexDataGridCell object.

iconTooltipRendererproperty 
public var iconTooltipRenderer:IFactory = null

The renderer factory for the icon tooltip. Defaults to null. If null, we simply show a string tooltip, else we call the showtooltip function on the grid passing in an instance of the class factory specified here.

isEditableFunctionproperty 
isEditableFunction:Function

A function that takes a IFlexDataGridCell, and returns true if this cell is editable. Use this in scenarios where some cells out of a column are not editable.


Implementation
    public function get isEditableFunction():Function
    public function set isEditableFunction(value:Function):void
isElasticproperty 
isElastic:Boolean  [read-only]

Returns true if the column is not right locked or IFixedWidth.


Implementation
    public function get isElastic():Boolean
isFirstRightLockedproperty 
isFirstRightLocked:Boolean  [read-only]


Implementation
    public function get isFirstRightLocked():Boolean
isFirstUnLockedproperty 
isFirstUnLocked:Boolean  [read-only]


Implementation
    public function get isFirstUnLocked():Boolean
isLastleftLockedproperty 
isLastleftLocked:Boolean  [read-only]


Implementation
    public function get isLastleftLocked():Boolean
isLastrightLockedproperty 
isLastrightLocked:Boolean  [read-only]


Implementation
    public function get isLastrightLocked():Boolean
isLastUnLockedproperty 
isLastUnLocked:Boolean  [read-only]


Implementation
    public function get isLastUnLocked():Boolean
isLeftLockedproperty 
isLeftLocked:Boolean  [read-only]

Returns true if the column is left locked.


Implementation
    public function get isLeftLocked():Boolean
isLockedproperty 
isLocked:Boolean  [read-only]

Returns true if the column is left or right locked.


Implementation
    public function get isLocked():Boolean
isRightLockedproperty 
isRightLocked:Boolean  [read-only]

Returns true if the column is right locked.


Implementation
    public function get isRightLocked():Boolean
isSortableproperty 
isSortable:Boolean  [read-only]

MX and Spark Grids implement the sortable differently, so to match the interface.


Implementation
    public function get isSortable():Boolean
itemEditorproperty 
itemEditor:IFactory

A class factory for the instances of the item editor to use for the column, when it is editable.

The default value is new ClassFactory(mx.controls.TextInput).


Implementation
    public function get itemEditor():IFactory
    public function set itemEditor(value:IFactory):void
itemEditorApplyOnValueCommitproperty 
itemEditorApplyOnValueCommit:Boolean

In Edit mode, we only apply the new value to the model object when the user either hits the enter key or the tab key after typing input. This works fine for most cases, but for ItemEditors like date fields or Select Boxes, you may wish to apply the value on Change. In this case, set this flag to true.


Implementation
    public function get itemEditorApplyOnValueCommit():Boolean
    public function set itemEditorApplyOnValueCommit(value:Boolean):void
itemEditorManagesPersistenceproperty 
itemEditorManagesPersistence:Boolean

Indicates that the item editors manage their own persitence and populating the dataprovider back with their changes, so the editorDataField is ignored and the DataGrid does not write back the value from the editor into the data provider. When you set itemEditorManagesPersistence, the itemEditorValidatorFunction or itemEditorApplyValueOnCommit are ignored, since we completely handover the responsibility of validating and persisting the data from the editor back into the dataprovider to the editor


Implementation
    public function get itemEditorManagesPersistence():Boolean
    public function set itemEditorManagesPersistence(value:Boolean):void
itemEditorValidatorFunctionproperty 
itemEditorValidatorFunction:Function

Function to call before committing the value of the item editor to the data provider. Should take a UIComponent with is the item editor, and return a true or a false. If false, value is not committed If true, value is committed.


Implementation
    public function get itemEditorValidatorFunction():Function
    public function set itemEditorValidatorFunction(value:Function):void
itemRendererproperty 
itemRenderer:IFactory

Each Cell in the grid is contains an instance of this class.


Implementation
    public function get itemRenderer():IFactory
    public function set itemRenderer(value:IFactory):void
labelproperty 
label:String  [read-only]

For support in pickers


Implementation
    public function get label():String
labelFunctionproperty 
labelFunction:Function

A function that determines the text to display in this column.


Implementation
    public function get labelFunction():Function
    public function set labelFunction(value:Function):void
labelFunction2property 
labelFunction2:Function

A specialized function that determines the text to display in this column, and takes the actual cell being evaluated as a parameter. As opposed to the regular label function, this actually takes a FlexDataGridCell object as a parameter, which contains the level information if you need to perform additonal logic. Please note, the cell parameter will be null in certain cases, like from the quickFind() method, where the cell is not currently drawn. Example: labelFunction="myLabelFunc" private function myLabelFunc(item:Object,col:FlexDataGridColumn, cell:FlexDataGridCell=null):String{ }


Implementation
    public function get labelFunction2():Function
    public function set labelFunction2(value:Function):void
levelproperty 
level:FlexDataGridColumnLevel


Implementation
    public function get level():FlexDataGridColumnLevel
    public function set level(value:FlexDataGridColumnLevel):void
linkTextproperty 
linkText:String

Deprecated. Use cell text instead.


Implementation
    public function get linkText():String
    public function set linkText(value:String):void
minWidthproperty 
minWidth:Number

The mininum width that a column can receive. After all calculations are made, it could result in some columns being squished beyond a certain value, where they're hardly visible. Setting a value for this property ensure this does not happen.


Implementation
    public function get minWidth():Number
    public function set minWidth(value:Number):void
nestDepthproperty 
nestDepth:Number  [read-only]

Gets the nest depth of the associated level.


Implementation
    public function get nestDepth():Number
ownerproperty 
owner:DisplayObjectContainer  [read-only]

Language Version : ActionScript 3.0
Product Version : Flex 4
Runtime Versions : Flash Player 10, AIR 1.1


Implementation
    public function get owner():DisplayObjectContainer
percentWidthproperty 
percentWidth:Number

On creation complete, will use this to distribute the width of the grid among the visible columns in the specified ratio.


Implementation
    public function get percentWidth():Number
    public function set percentWidth(value:Number):void
persistenceKeyproperty 
persistenceKey:String

For datagrids where there are multiple columns with the same header text, this field may be specified so that the persistence mechanism does not overwrite it.


Implementation
    public function get persistenceKey():String
    public function set persistenceKey(value:String):void
resizableproperty 
resizable:Boolean

Flag that indicates whether the user is allowed to resize the width of the column. Please note, left and right locked columns are not resizable

The default value is true.


Implementation
    public function get resizable():Boolean
    public function set resizable(value:Boolean):void
searchFieldproperty 
searchField:String

The field that the filter should search on. Defaults to the dataField property from mx.controls.dataGridClasses.DataGridColumn. But can be overridden if needed. For example, consider a grid bound to a list of Employee objects, with a departmentName and departmentId property. This column shows the departmentName, with a combobox filter or a multi-select filter using a list of departments as filterComboBoxDataProvider By default, the comparison will occur using the selected label of the filter control being compared to the departmentName property of each employee. This is allright if the filterPageSortMode property of the com.flexicious.grids.ExtendedDataGrid is set to "client", but if it is "server" , you would ideally want to have the ID of the selected department(s). In that case, you would set the searchField property to "departmentId", filterComboBoxDataField to "departmentId", filterComboBoxLabelField to "departmentName".


Implementation
    public function get searchField():String
    public function set searchField(value:String):void
selectableproperty 
selectable:Boolean

Flag that indicates whether the items in the column are selectable.


Implementation
    public function get selectable():Boolean
    public function set selectable(value:Boolean):void
showClearIconWhenHasTextproperty 
public var showClearIconWhenHasText:Boolean = false

For filterControl=textInput, if you specify an Filter Icon Style, setting this variable to true will clear show the icon only when there is text in the box.

showIconOnCellHoverproperty 
public var showIconOnCellHover:Boolean = false

If set to true, icon only shows when user hovers over the cell.

showIconOnRowHoverproperty 
public var showIconOnRowHover:Boolean = false

If set to true, icon only shows when user hovers over the row.

sortableproperty 
public var sortable:Boolean = true

Flag that indicates whether the user can click on the header of this column to sort the data provider.

The default value is true.

sortCaseInsensitiveproperty 
public var sortCaseInsensitive:Boolean = false

To sort this column insensitive of case. Only set this to true for string data, if you set this to true for numeric or date data, the sort results will be incorrect.

sortCompareFunctionproperty 
sortCompareFunction:Function

A callback function that gets called when sorting the data in the column.


Implementation
    public function get sortCompareFunction():Function
    public function set sortCompareFunction(value:Function):void
sortFieldproperty 
sortField:String

Similar to searchField, if you want to override what the database actually sorts when you sort this column


Implementation
    public function get sortField():String
    public function set sortField(value:String):void
sortFieldNameproperty 
sortFieldName:String  [read-only]


Implementation
    public function get sortFieldName():String
sortNumericproperty 
public var sortNumeric:Boolean = false

To sort this column numerically.

styleOverridesproperty 
styleOverrides:Object  [read-only]

For 3.5 Compatibility


Implementation
    public function get styleOverrides():Object
truncateToFitproperty 
truncateToFit:Boolean

If this propery is true, the text that does not fit in the available size is truncated with "...".


Implementation
    public function get truncateToFit():Boolean
    public function set truncateToFit(value:Boolean):void
uniqueIdentifierproperty 
uniqueIdentifier:String

A key used to uniquely identify a column. Defaults to the header text Used in print and preference persistence to identify columns.


Implementation
    public function get uniqueIdentifier():String
    public function set uniqueIdentifier(value:String):void
useCurrentDataProviderForFilterComboBoxValuesproperty 
useCurrentDataProviderForFilterComboBoxValues:Boolean

Not supported


Implementation
    public function get useCurrentDataProviderForFilterComboBoxValues():Boolean
    public function set useCurrentDataProviderForFilterComboBoxValues(value:Boolean):void
useFilterDataProviderForItemEditorproperty 
useFilterDataProviderForItemEditor:Boolean

For list based item editors, setting this flag will use the dataprovider from the filter mechanism for the item editor.


Implementation
    public function get useFilterDataProviderForItemEditor():Boolean
    public function set useFilterDataProviderForItemEditor(value:Boolean):void
useHandCursorproperty 
useHandCursor:Boolean


Implementation
    public function get useHandCursor():Boolean
    public function set useHandCursor(value:Boolean):void
useIconRollOverTimerproperty 
public var useIconRollOverTimer:Boolean = true

Prior to dispatching the icon roll over, we use a timer so accidental roll over does not cause popups. But sometimes you need this behavior, for example for custom cursors overicons. set this to false in that case

useLabelFunctionForFilterCompareproperty 
useLabelFunctionForFilterCompare:Boolean

Flag, that defaults to true, indicates that in client filter mode, use the label function to perform the search comparison as opposed to using the raw value of the "searchField" property of the column.


Implementation
    public function get useLabelFunctionForFilterCompare():Boolean
    public function set useLabelFunctionForFilterCompare(value:Boolean):void
useLabelFunctionForSortCompareproperty 
useLabelFunctionForSortCompare:Boolean

When you set to true, a custom sortCompareFunction is applied that uses the labelFunction instead of the dataField.


Implementation
    public function get useLabelFunctionForSortCompare():Boolean
    public function set useLabelFunctionForSortCompare(value:Boolean):void
useUnderLineproperty 
useUnderLine:Boolean

When true, if the renderer supports the text decoration style property, sets it to underline.


Implementation
    public function get useUnderLine():Boolean
    public function set useUnderLine(value:Boolean):void
visibleproperty 
visible:Boolean

Flag that indicates whether the column is visible. If true, the column is visible.

The default value is true.


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void
widthproperty 
width:Number

The width of the column, in pixels.

The default value is 100.


Implementation
    public function get width():Number
    public function set width(value:Number):void
wordWrapproperty 
wordWrap:Boolean

Flag to indicate that the text in this column can flow into multiple lines, based upon the width of the column. This flag is usually set in combination with the variableRowHeight flag on the grid. Below are the docs for the variableRowHeight tag:


Implementation
    public function get wordWrap():Boolean
    public function set wordWrap(value:Boolean):void
xproperty 
x:Number

Current X position of this column relative to the container for its cells.


Implementation
    public function get x():Number
    public function set x(value:Number):void
Constructor Detail
FlexDataGridColumn()Constructor
public function FlexDataGridColumn()



Method Detail
defaultIconFunction()method
protected function defaultIconFunction(cell:IFlexDataGridCell, state:String):*

Default Icon tooltip function. Returns value of the iconToolTip string.

Parameters

cell:IFlexDataGridCell
 
state:String

Returns
*
defaultIconTooltipFunction()method 
protected function defaultIconTooltipFunction(cell:IFlexDataGridCell):String

Default Icon tooltip function. Returns value of the iconToolTip string.

Parameters

cell:IFlexDataGridCell

Returns
String
deriveRenderer()method 
public function deriveRenderer(chromeType:int = 5):IFactory

Depending on the specified chrome type, gets the appropriate renderer. If truncateToFit or selectable is true, returns a label factory else returns a text field factory.

Parameters

chromeType:int (default = 5)

Returns
IFactory
dispatchEvent()method 
override public function dispatchEvent(event:Event):Boolean

Whenever a tree datagrid event is dispatched at any column, we also dispatch it from the level so if someone wants to listen for an event at all columns...

Parameters

event:Event

Returns
Boolean
doFormat()method 
public function doFormat(retVal:String):String

The doFormat method returns formatted value on basis of the format properties (See description below) If the input is null, returns null. If there is a formatter specified, uses the formatter's format method to return a formatted value. If the format property is specified and no formatter is specified, the column will instantiate a formatter on basis of the value of the format property. The property can be one of 5 constants.

Based on the formatter created above, the value will be returned.

Parameters

retVal:String — String to format

Returns
String — Formatted string.
getAdjacentColumn()method 
public function getAdjacentColumn(num:int):FlexDataGridColumn

Parameters

num:int

Returns
FlexDataGridColumn
getDistinctValues()method 
public function getDistinctValues(dp:Object, collection:Array = null, addedCodes:Array = null, lvl:FlexDataGridColumnLevel = null):Array

Returns this list of distinct values for this column, in a list of arraycollection which will have properties data and label.

Parameters

dp:Object
 
collection:Array (default = null)
 
addedCodes:Array (default = null)
 
lvl:FlexDataGridColumnLevel (default = null)

Returns
Array
getStyleValue()method 
public function getStyleValue(styleProp:String):*

Gets the style value for the provided style property at the current level. If not defined at current level, gets the one defined at the grid level.

Parameters

styleProp:String

Returns
*
isValidStyleValue()method 
public function isValidStyleValue(val:*):Boolean

Parameters

val:*

Returns
Boolean
itemToLabel()method 
public function itemToLabel(data:Object, cell:IFlexDataGridCell = null):String

Returns the String that the item renderer displays for the given data object.

Parameters

data:Object
 
cell:IFlexDataGridCell (default = null)

Returns
String
nestedSortCompareFunction()method 
protected function nestedSortCompareFunction(obj1:Object, obj2:Object):int

function that is used when we have complex properties in the datafield.

Parameters

obj1:Object
 
obj2:Object

Returns
int
showPopup()method 
public function showPopup(popupData:Object):Object

Unused, for legacy purposes only

Parameters

popupData:Object

Returns
Object
Event Detail
columnResized Event
Event Object Type: com.flexicious.nestedtreedatagrid.events.FlexDataGridEvent

Dispatched when the column width changes for any reason, including programmatic recalculation of column widths

columnXChanged Event  
Event Object Type: com.flexicious.nestedtreedatagrid.events.FlexDataGridEvent

Dispatched when the column x changes for any reason, including programmatic recalculation of column x

Constant Detail
COLUMN_WIDTH_MODE_FIT_TO_CONTENTConstant
public static const COLUMN_WIDTH_MODE_FIT_TO_CONTENT:String = fitToContent

COLUMN_WIDTH_MODE_FIXEDConstant 
public static const COLUMN_WIDTH_MODE_FIXED:String = fixed

COLUMN_WIDTH_MODE_NONEConstant 
public static const COLUMN_WIDTH_MODE_NONE:String = none

COLUMN_WIDTH_MODE_PERCENTConstant 
public static const COLUMN_WIDTH_MODE_PERCENT:String = percent

DEFAULT_COLUMN_WIDTHConstant 
public static const DEFAULT_COLUMN_WIDTH:Number = 100

Default width of the columns

FORMAT_CURRENCYConstant 
public static const FORMAT_CURRENCY:String = currency

Used by the doFormat method.

FORMAT_DATEConstant 
public static const FORMAT_DATE:String = date

Used by the doFormat method.

FORMAT_DATE_TIMEConstant 
public static const FORMAT_DATE_TIME:String = datetime

Used by the doFormat method.

FORMAT_NONEConstant 
public static const FORMAT_NONE:String = none

Used by the doFormat method.

FORMAT_NUMBERConstant 
public static const FORMAT_NUMBER:String = number

Used by the doFormat method.

FORMAT_TIMEConstant 
public static const FORMAT_TIME:String = time

Used by the doFormat method.