Packagecom.flexicious.grids.spark.columns
Classpublic class SelectAllCheckBoxHeaderColumn
InheritanceSelectAllCheckBoxHeaderColumn Inheritance ExtendedGridColumn Inheritance spark.components.gridClasses.GridColumn
Implements ISelectAllColumn

Use with the selectedKeyField = "typically the ID field" Once you do this, you can use the Grid.selectedObjects or Grid.selectedKeys and it will give you a list of the grids selected objects, or a list of values of the field that you specify in the selectedKeyField

Default MXML PropertyselectedKeyField



Public Properties
 PropertyDefined By
 InheritedclearFilterOnIconClick : Boolean = false
For filterControl=textInput, if you specify an Filter Icon Style, setting this variable to true will clear the text on icon click.
ExtendedGridColumn
 InheritedclickBehavior : String
Grid can be setup to launch a popup when the user clicks or hovers.
ExtendedGridColumn
 InheritedclickParentDisplayObject : DisplayObject
The parent object to use while calling PopupManager.addPopUp.
ExtendedGridColumn
 InheritedclickPopupClass : IFactory
The popup class to launch.
ExtendedGridColumn
 InheritedclickPopupHeight : Number
The height of the popup to launch when the clickBehavior is set.
ExtendedGridColumn
 InheritedclickPopupTitle : String
The title of the popup to launch when the clickBehavior is set.
ExtendedGridColumn
 InheritedclickPopupWidth : Number
The width of the popup to launch when the clickBehavior is set.
ExtendedGridColumn
 InheritedcolNum : Number
[read-only]
ExtendedGridColumn
 InheritedcolumnWidthMode : String
Specifies how the column widths are applied.
ExtendedGridColumn
 InheritedcolumnWidthOffset : 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.
ExtendedGridColumn
 InheritedenableFilterAutoComplete : Boolean = false
When filterControl=textInput, setting this flag to true will set the enableAutoComplete flag on the associated TextInput control
ExtendedGridColumn
 InheritedexcludeFromExport : Boolean
If set to true, this column wont be included in the export mechanism by default.
ExtendedGridColumn
 InheritedexcludeFromPrint : Boolean
If set to true, this column wont be included in the print mechanism by default.
ExtendedGridColumn
 InheritedexcludeFromSettings : Boolean
If set to true, this column wont be included displayed in the Settings Popup
ExtendedGridColumn
 InheritedfilterComboBoxBuildFromGrid : Boolean
Flag, if set to true, will automatically build this collection on basis of distinct values in the grid.
ExtendedGridColumn
 InheritedfilterComboBoxDataField : String
Used in conjunction with the filterComboBoxDataProvider field, used to set the value of the data field for the associated ISelectFilterControl
ExtendedGridColumn
 InheritedfilterComboBoxDataProvider : ArrayCollection
Dataprovider to use to build the list of values to dipsplay in the filter control, only applicable if the filterControl is a
ExtendedGridColumn
 InheritedfilterComboBoxLabelField : String
Used in conjunction with the filterComboBoxDataProvider field, used to set the value of the label field for the associated ISelectFilterControl
ExtendedGridColumn
 InheritedfilterComboBoxWidth : Number
Returns the width of the dropdown.
ExtendedGridColumn
 InheritedfilterCompareFunction : 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.
ExtendedGridColumn
 InheritedfilterComparisionType : String
This is ususally automatically set, you dont have to manually set it, unless you're sending strings as Date objects.
ExtendedGridColumn
 InheritedfilterControl : String
A control that implements
ExtendedGridColumn
 InheritedfilterConverterFunction : Function = null
A function that takes an item, and returns a processed value for comparision.
ExtendedGridColumn
 InheritedfilterDateRangeOptions : Array
Applicable only when the filtercontrol is a
ExtendedGridColumn
 InheritedfilterOperation : String
The opeartor to apply when doing the conversion.
ExtendedGridColumn
 InheritedfilterRenderer : IFactory
The actual control to render inside the header column.
ExtendedGridColumn
 InheritedfilterTriggerEvent : String
The event that the filter triggers on.
ExtendedGridColumn
 InheritedfilterWaterMark : String
Applicable only if the filter control is TextInput.
ExtendedGridColumn
 InheritedfooterAlign : String
The alignment of the footer label
ExtendedGridColumn
 InheritedfooterFormatter : Formatter
Formatter for the footer label
ExtendedGridColumn
 InheritedfooterLabel : String
The label of the footer
ExtendedGridColumn
 InheritedfooterLabelFunction : Function
A function that will return the footer label
ExtendedGridColumn
 InheritedfooterOperation : String
The operation to apply to the footer
ExtendedGridColumn
 InheritedfooterOperationPrecision : int
Precision for the footer label
ExtendedGridColumn
 InheritedfooterRenderer : IFactory
A renderer for the footer
ExtendedGridColumn
 InheritedfooterStyleName : String
Style name for the footer cells.
ExtendedGridColumn
 Inheritedformat : String
Used by the doFormat method.
ExtendedGridColumn
 InheritedformatterCurrencySymbol : String
For currency formatter, the currency symbol.
ExtendedGridColumn
 InheritedformatterDateFormatString : String
For date formatters, the date format.
ExtendedGridColumn
 InheritedformatterPrecision : Number = 2
For number and currency formatters, the default number of digits after the decimal point.
ExtendedGridColumn
 InheritedheaderRenderer : IFactory
[override] [read-only]
ExtendedGridColumn
 InheritedisSortable : Boolean
[read-only] MX and Spark Grids implement the sortable differently, so to match the interface.
ExtendedGridColumn
 InheritedlinkText : String
When set, creates a link text that can then be used in conjunction with the linkClicked event.
ExtendedGridColumn
 Inheritedowner : DisplayObject
[read-only]
ExtendedGridColumn
 InheritedpercentWidth : Number
On creation complete, will use this to distribute the width of the grid among the visible columns in the specified ratio.
ExtendedGridColumn
 InheritedpersistenceKey : 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.
ExtendedGridColumn
 InheritedsearchField : String
The field that the filter should search on.
ExtendedGridColumn
  selectedKeyField : String
The property(attribute) of the type(class) of the objects contained within the collection bound to the dataProvider.
SelectAllCheckBoxHeaderColumn
 InheritedshowClearIconWhenHasText : 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.
ExtendedGridColumn
 InheritedsortFieldName : String
To prevent sortField from clashing with Spark DataGrid's sort field
ExtendedGridColumn
 InheriteduniqueIdentifier : String
A key used to uniquely identify a column.
ExtendedGridColumn
 InheriteduseCurrentDataProviderForFilterComboBoxValues : Boolean
If you want to restrict the list of options in the filter dropdown to the current dataprovider, set this flag to true.
ExtendedGridColumn
 InheriteduseHandCursor : Boolean
ExtendedGridColumn
 InheriteduseLabelFunctionForFilterCompare : 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.
ExtendedGridColumn
 InheriteduseLabelFunctionForSortCompare : Boolean
When you set to true, a custom sortCompareFunction is applied that uses the labelFunction instead of the dataField.
ExtendedGridColumn
Protected Properties
 PropertyDefined By
  _selectedKeyField : String
SelectAllCheckBoxHeaderColumn
Public Methods
 MethodDefined By
  
SelectAllCheckBoxHeaderColumn
 Inherited
createPopup(popupData:Object):Object
Creates the popup.
ExtendedGridColumn
 Inherited
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.
ExtendedGridColumn
 Inherited
getDistinctValues(dp:Object, collection:Array = null, addedCodes:Array = null):Array
Returns this list of distinct values for this column, in a list of arraycollection which will have properties data and label.
ExtendedGridColumn
 Inherited
getStyle(prop:String):*
Not supported
ExtendedGridColumn
 Inherited
itemToLabel(data:Object):String
[override]
ExtendedGridColumn
 Inherited
setStyle(prop:String, val:*):void
Not supported
ExtendedGridColumn
 Inherited
showPopup(popupData:Object):Object
Launches the actual popup.
ExtendedGridColumn
Events
 Event Summary Defined By
 InheritedFired when the link is clicked if the linkText property is set.ExtendedGridColumn
Styles
 Style Description Defined By
 InheritedType: Class Format: EmbeddedFile CSS Inheritance: no
When filterControl=textInput, the icon that is displayed inside the textbox, based on the insideIconPosition property.
ExtendedGridColumn
 InheritedType: String
When filterControl=textInput, the position of the icon that is displayed inside the textbox.
ExtendedGridColumn
Public Constants
 ConstantDefined By
 InheritedCOLUMN_WIDTH_MODE_FIT_TO_CONTENT : String = fitToContent
[static]
ExtendedGridColumn
 InheritedCOLUMN_WIDTH_MODE_FIXED : String = fixed
[static]
ExtendedGridColumn
 InheritedCOLUMN_WIDTH_MODE_PERCENT : String = percent
[static]
ExtendedGridColumn
 InheritedFORMAT_CURRENCY : String = currency
[static] Used by the doFormat method.
ExtendedGridColumn
 InheritedFORMAT_DATE : String = date
[static] Used by the doFormat method.
ExtendedGridColumn
 InheritedFORMAT_DATE_TIME : String = datetime
[static] Used by the doFormat method.
ExtendedGridColumn
 InheritedFORMAT_NONE : String = none
[static] Used by the doFormat method.
ExtendedGridColumn
 InheritedFORMAT_NUMBER : String = number
[static] Used by the doFormat method.
ExtendedGridColumn
 InheritedFORMAT_TIME : String = time
[static] Used by the doFormat method.
ExtendedGridColumn
Property Detail
_selectedKeyFieldproperty
protected var _selectedKeyField:String

selectedKeyFieldproperty 
selectedKeyField:String

The property(attribute) of the type(class) of the objects contained within the collection bound to the dataProvider. Example, "employeeId" property would be the selectedKeyField of the class "Employee". This is then used by the selectedKeys and selectedObjects properties to return the appropriate collection.


Implementation
    public function get selectedKeyField():String
    public function set selectedKeyField(value:String):void
Constructor Detail
SelectAllCheckBoxHeaderColumn()Constructor
public function SelectAllCheckBoxHeaderColumn()