Packagecom.flexicious.lic
Classpublic class EdgBase
InheritanceEdgBase Inheritance mx.controls.DataGrid
Subclasses ExtendedDataGrid

Base class for the ExtendedDataGrid. Please refer to the ExtendedDataGrid class for details

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  additionalFilterArgumentsFunction : Function
In scenarios where there are detached filters, this function may be used to add on to the list of arguments before the filter is run.
EdgBase
  displayOrder : String
A comma seperated list of the following strings: filter,body,footer,pager for the Advanced Data Grid filter,header,body,footer,pager for the Classic Data Grid Changes the order in which the grid displays the filter,header,body,footer,pager The order in which the various sections of the grid are laid out.
EdgBase
  enableCopy : Boolean
A flag that indicates whether or not to show the context menu options to copy the cell,row, or table data
EdgBase
  enableDoubleClickEdit : Boolean
Enables or disables keyboard navigation for filters.
EdgBase
  enableExport : Boolean
A flag that may be used for binding purposes in the custom pager control.
EdgBase
  enableFilters : Boolean
A flag that indicates whether or not to show the filters
EdgBase
  enableFooters : Boolean
A flag that indicates whether or not to show the footer
EdgBase
  enableKeyboardNavigation : Boolean
Enables or disables keyboard navigation for filters.
EdgBase
  enablePrint : Boolean
A flag that may be used for binding purposes in the custom pager control.
EdgBase
  filterPageSortMode : String
The Filter/Page/Sort Mode.
EdgBase
  initialSortAscending : Boolean
In conjunction with the initialSortField property, If the initial value used to set the dataProvider is sorted by a specific field, set this property to the name of that field.
EdgBase
  initialSortField : String
If the initial value used to set the dataProvider is sorted by a specific field, set this property to the name of that field.
EdgBase
  lockedColumns : Array
[read-only] Returns columns 0 through x, where x=lockedColumnCount
EdgBase
  lockedColumnWidth : int
[read-only] Returns the width of the locked columns
EdgBase
  lockedHeader : DataGridHeader
[read-only] Returns the locked header row
EdgBase
  pagerPosition : String
The horizontal positioning of the contents of the pager.
EdgBase
  printExportData : Object
Gets the records to print or to export.
EdgBase
  printExportParameters : Object
Any custom data that you wish to pass into the print/export mechanism. This will then be available on Print/Export Options when the Print or Export is run.
EdgBase
  showSpinnerOnFilterPageSort : Boolean
A flag when set, automatically shows the spinner on creation complete and any filter page or sort operation.
EdgBase
  unLockedHeader : DataGridHeader
[read-only] Returns the unlocked part of the header
EdgBase
  verticalScrollBarOffset : int
[read-only] If the vertical scrollbar is visible, returns the width of the vertical scroll bar.
EdgBase
  visibleColumns : Array
[read-only] Returns the visible columns from the unlocked header.
EdgBase
Protected Properties
 PropertyDefined By
  _triggerEvent : Boolean = true
If we're setting filters programatically, we may not want the filterPageSortChange event to fire.
EdgBase
Public Methods
 MethodDefined By
  
EdgBase
  
clearSort():void
Clears out the sort.
EdgBase
  
getRowText(item:Object):String
Converts an objects properties into tab delimited format
EdgBase
  
processSort(sorts:ArrayCollection):void
Used by state persistence to load sort settings that were persisted previously.
EdgBase
  
showToaster(message:String, toasterPosition:String = BOTTOM_RIGHT, toasterRenderer:IFactory = null, animationDuration:Number = 1000, visibleDuration:Number = 5000, moveAnimate:Boolean = true, fadeAnimate:Boolean = true):void
EdgBase
Protected Methods
 MethodDefined By
  
placeSort():void
Places the sort icon
EdgBase
Property Detail
_triggerEventproperty
protected var _triggerEvent:Boolean = true

If we're setting filters programatically, we may not want the filterPageSortChange event to fire. This flag, when set to true will prevent the event from being fired

additionalFilterArgumentsFunctionproperty 
additionalFilterArgumentsFunction:Function

In scenarios where there are detached filters, this function may be used to add on to the list of arguments before the filter is run. Should no parameters, and return an array collection of the filter expressions


Implementation
    public function get additionalFilterArgumentsFunction():Function
    public function set additionalFilterArgumentsFunction(value:Function):void
displayOrderproperty 
displayOrder:String

A comma seperated list of the following strings: filter,body,footer,pager for the Advanced Data Grid filter,header,body,footer,pager for the Classic Data Grid Changes the order in which the grid displays the filter,header,body,footer,pager The order in which the various sections of the grid are laid out. Please note: The way advanced data grid is structured, the header and body are one section, so the "header" is not a valid value for the list of displayOrder objects.


Implementation
    public function get displayOrder():String
    public function set displayOrder(value:String):void
enableCopyproperty 
enableCopy:Boolean

A flag that indicates whether or not to show the context menu options to copy the cell,row, or table data


Implementation
    public function get enableCopy():Boolean
    public function set enableCopy(value:Boolean):void
enableDoubleClickEditproperty 
enableDoubleClickEdit:Boolean

Enables or disables keyboard navigation for filters.


Implementation
    public function get enableDoubleClickEdit():Boolean
    public function set enableDoubleClickEdit(value:Boolean):void
enableExportproperty 
enableExport:Boolean

A flag that may be used for binding purposes in the custom pager control. This flag does not change any behavior. It defaults to true.

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


Implementation
    public function get enableExport():Boolean
    public function set enableExport(value:Boolean):void
enableFiltersproperty 
enableFilters:Boolean

A flag that indicates whether or not to show the filters

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


Implementation
    public function get enableFilters():Boolean
    public function set enableFilters(value:Boolean):void
enableFootersproperty 
enableFooters:Boolean

A flag that indicates whether or not to show the footer

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


Implementation
    public function get enableFooters():Boolean
    public function set enableFooters(value:Boolean):void
enableKeyboardNavigationproperty 
enableKeyboardNavigation:Boolean

Enables or disables keyboard navigation for filters.


Implementation
    public function get enableKeyboardNavigation():Boolean
    public function set enableKeyboardNavigation(value:Boolean):void
enablePrintproperty 
enablePrint:Boolean

A flag that may be used for binding purposes in the custom pager control. This flag does not change any behavior. It defaults to true.

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


Implementation
    public function get enablePrint():Boolean
    public function set enablePrint(value:Boolean):void
filterPageSortModeproperty 
filterPageSortMode:String

The Filter/Page/Sort Mode. Can be either "server" or "client". In client mode, the grid will take care of paging, sorting and filtering once the dataprovider is set. In server mode, the grid will fire a com.flexicious.grids.events.FilterPageSortChangeEvent named filterPageSortChange that should be used to construct an appropriate query to be sent to the backend.

The default value is client.


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

See also

initialSortAscendingproperty 
initialSortAscending:Boolean

In conjunction with the initialSortField property, If the initial value used to set the dataProvider is sorted by a specific field, set this property to the name of that field. This will make the grid draw the sort icon for that column on initial load.


Implementation
    public function get initialSortAscending():Boolean
    public function set initialSortAscending(value:Boolean):void
initialSortFieldproperty 
initialSortField:String

If the initial value used to set the dataProvider is sorted by a specific field, set this property to the name of that field. This will make the grid draw the sort icon for that column on initial load.


Implementation
    public function get initialSortField():String
    public function set initialSortField(value:String):void
lockedColumnsproperty 
lockedColumns:Array  [read-only]

Returns columns 0 through x, where x=lockedColumnCount


Implementation
    public function get lockedColumns():Array
lockedColumnWidthproperty 
lockedColumnWidth:int  [read-only]

Returns the width of the locked columns


Implementation
    public function get lockedColumnWidth():int
lockedHeaderproperty 
lockedHeader:DataGridHeader  [read-only]

Returns the locked header row


Implementation
    public function get lockedHeader():DataGridHeader
pagerPositionproperty 
pagerPosition:String

The horizontal positioning of the contents of the pager. Please use the displayOrder property to control the vertical positioning Handled by default if you use the built in pager (com.flexicious.grids.columns.footers.PagerControl) , but if you implement your owncom.flexicious.controls.interfaces.IPager, then needs to be handled by you.


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

See also

com.flexicious.grids.columns.footers.PagerControl.
com.flexicious.controls.interfaces.IPager.
printExportDataproperty 
printExportData:Object

Gets the records to print or to export. Only applicable when the filterPageSortMode of the grid is set to server, and the user requests to print all pages or specific pages of data that are not currently loaded.


Implementation
    public function get printExportData():Object
    public function set printExportData(value:Object):void
printExportParametersproperty 
printExportParameters:Object

Any custom data that you wish to pass into the print/export mechanism. This will then be available on Print/Export Options when the Print or Export is run.


Implementation
    public function get printExportParameters():Object
    public function set printExportParameters(value:Object):void
showSpinnerOnFilterPageSortproperty 
showSpinnerOnFilterPageSort:Boolean

A flag when set, automatically shows the spinner on creation complete and any filter page or sort operation. Hides automatically on collection reset. Defaults to false. If you wish to manually control when the spinner appears, leave this as false, and call showSpinner and hideSpinner as required.


Implementation
    public function get showSpinnerOnFilterPageSort():Boolean
    public function set showSpinnerOnFilterPageSort(value:Boolean):void
unLockedHeaderproperty 
unLockedHeader:DataGridHeader  [read-only]

Returns the unlocked part of the header


Implementation
    public function get unLockedHeader():DataGridHeader
verticalScrollBarOffsetproperty 
verticalScrollBarOffset:int  [read-only]

If the vertical scrollbar is visible, returns the width of the vertical scroll bar.


Implementation
    public function get verticalScrollBarOffset():int
visibleColumnsproperty 
visibleColumns:Array  [read-only]

Returns the visible columns from the unlocked header.


Implementation
    public function get visibleColumns():Array
Constructor Detail
EdgBase()Constructor
public function EdgBase()



Method Detail
clearSort()method
public function clearSort():void

Clears out the sort.

getRowText()method 
public function getRowText(item:Object):String

Converts an objects properties into tab delimited format

Parameters

item:Object

Returns
String
placeSort()method 
protected function placeSort():void

Places the sort icon

processSort()method 
public function processSort(sorts:ArrayCollection):void

Used by state persistence to load sort settings that were persisted previously.

Parameters

sorts:ArrayCollection

showToaster()method 
public function showToaster(message:String, toasterPosition:String = BOTTOM_RIGHT, toasterRenderer:IFactory = null, animationDuration:Number = 1000, visibleDuration:Number = 5000, moveAnimate:Boolean = true, fadeAnimate:Boolean = true):void

Parameters

message:String
 
toasterPosition:String (default = BOTTOM_RIGHT)
 
toasterRenderer:IFactory (default = null)
 
animationDuration:Number (default = 1000)
 
visibleDuration:Number (default = 5000)
 
moveAnimate:Boolean (default = true)
 
fadeAnimate:Boolean (default = true)