| Package | com.flexicious.lic |
| Class | public class EadgBase |
| Inheritance | EadgBase mx.controls.AdvancedDataGrid |
| Subclasses | ExtendedAdvancedDataGrid |
Default MXML PropertydataProvider
| Property | Defined 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. | EadgBase | ||
| 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. | EadgBase | ||
| enableCopy : Boolean
A flag that indicates whether or not to show the context menu options to
copy the cell,row, or table data
| EadgBase | ||
| enableDoubleClickEdit : Boolean
Enables or disables keyboard navigation for filters. | EadgBase | ||
| enableExport : Boolean
A flag that may be used for binding purposes
in the custom pager control. | EadgBase | ||
| enableFilters : Boolean
A flag that indicates whether or not to show the filters
| EadgBase | ||
| enableFooters : Boolean
A flag that indicates whether or not to show the footer
| EadgBase | ||
| enableKeyboardNavigation : Boolean
Enables or disables keyboard navigation for filters. | EadgBase | ||
| enablePrint : Boolean
A flag that may be used for binding purposes
in the custom pager control. | EadgBase | ||
| filterPageSortMode : String
The Filter/Page/Sort Mode. | EadgBase | ||
| lockedColumns : Array [read-only]
Iterates through the locked columns, and returns them
| EadgBase | ||
| lockedColumnWidth : int [read-only]
Iterates through the locked columns, and adds up the
width of these columns
| EadgBase | ||
| pagerPosition : String
The horizontal positioning of the contents of the pager. | EadgBase | ||
| printExportData : Object
Gets the records to print or to export. | EadgBase | ||
| 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. | EadgBase | ||
| showSpinnerOnFilterPageSort : Boolean
A flag when set, automatically shows the spinner on creation complete and
any filter page or sort operation. | EadgBase | ||
| verticalScrollBarOffset : int [read-only]
If the vertical scrollbar is visible, returns the width
of the vertical scroll bar. | EadgBase | ||
| visibleColumns : Array [read-only]
Returns the visible columns from the unlocked header. | EadgBase | ||
| Property | Defined By | ||
|---|---|---|---|
| _customSortIndex : int = -1 | EadgBase | ||
| _displayOrder : String = pager,filter,body,footer | EadgBase | ||
| _triggerEvent : Boolean = true
If we're setting filters programatically,
we may not want the filterPageSortChange event
to fire. | EadgBase | ||
| Method | Defined By | ||
|---|---|---|---|
clearCurrentSort():void
Clears the sorts that are added via the add sort method. | EadgBase | ||
createListData(text:String, dataField:String, columnIndex:int):BaseListData
Internal method so we can hook into the List Data mechanism
| EadgBase | ||
getRowText(item:Object):String
Converts an objects properties into tab delimited format
| EadgBase | ||
runCurrentSort():void
Runs the sorts that are added via the addSort method
| EadgBase | ||
showToaster(message:String, toasterPosition:String = BOTTOM_RIGHT, toasterRenderer:IFactory = null, animationDuration:Number = 1000, visibleDuration:Number = 5000, moveAnimate:Boolean = true, fadeAnimate:Boolean = true):void | EadgBase | ||
| _customSortIndex | property |
protected var _customSortIndex:int = -1
| _displayOrder | property |
protected var _displayOrder:String = pager,filter,body,footer
| _triggerEvent | property |
protected var _triggerEvent:Boolean = trueIf 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
| additionalFilterArgumentsFunction | property |
additionalFilterArgumentsFunction:FunctionIn 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
public function get additionalFilterArgumentsFunction():Function public function set additionalFilterArgumentsFunction(value:Function):void| displayOrder | property |
displayOrder:StringA 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.
public function get displayOrder():String public function set displayOrder(value:String):void| enableCopy | property |
enableCopy:BooleanA flag that indicates whether or not to show the context menu options to copy the cell,row, or table data
public function get enableCopy():Boolean public function set enableCopy(value:Boolean):void| enableDoubleClickEdit | property |
enableDoubleClickEdit:BooleanEnables or disables keyboard navigation for filters.
public function get enableDoubleClickEdit():Boolean public function set enableDoubleClickEdit(value:Boolean):void| enableExport | property |
enableExport:BooleanA 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.
public function get enableExport():Boolean public function set enableExport(value:Boolean):void| enableFilters | property |
enableFilters:BooleanA flag that indicates whether or not to show the filters
This property can be used as the source for data binding.
public function get enableFilters():Boolean public function set enableFilters(value:Boolean):void| enableFooters | property |
enableFooters:BooleanA flag that indicates whether or not to show the footer
This property can be used as the source for data binding.
public function get enableFooters():Boolean public function set enableFooters(value:Boolean):void| enableKeyboardNavigation | property |
enableKeyboardNavigation:BooleanEnables or disables keyboard navigation for filters.
public function get enableKeyboardNavigation():Boolean public function set enableKeyboardNavigation(value:Boolean):void| enablePrint | property |
enablePrint:BooleanA 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.
public function get enablePrint():Boolean public function set enablePrint(value:Boolean):void| filterPageSortMode | property |
filterPageSortMode:StringThe 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.
public function get filterPageSortMode():String public function set filterPageSortMode(value:String):voidSee also
| lockedColumns | property |
lockedColumns:Array [read-only] Iterates through the locked columns, and returns them
public function get lockedColumns():Array| lockedColumnWidth | property |
lockedColumnWidth:int [read-only] Iterates through the locked columns, and adds up the width of these columns
public function get lockedColumnWidth():int| pagerPosition | property |
pagerPosition:StringThe 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.
public function get pagerPosition():String public function set pagerPosition(value:String):voidSee also
| printExportData | property |
printExportData:ObjectGets 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.
public function get printExportData():Object public function set printExportData(value:Object):void| printExportParameters | property |
printExportParameters:ObjectAny 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.
public function get printExportParameters():Object public function set printExportParameters(value:Object):void| showSpinnerOnFilterPageSort | property |
showSpinnerOnFilterPageSort:BooleanA 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.
public function get showSpinnerOnFilterPageSort():Boolean public function set showSpinnerOnFilterPageSort(value:Boolean):void| verticalScrollBarOffset | property |
verticalScrollBarOffset:int [read-only] If the vertical scrollbar is visible, returns the width of the vertical scroll bar.
public function get verticalScrollBarOffset():int| visibleColumns | property |
visibleColumns:Array [read-only] Returns the visible columns from the unlocked header.
public function get visibleColumns():Array| clearCurrentSort | () | method |
public function clearCurrentSort():voidClears the sorts that are added via the add sort method. If run is specified, runs the actual sort.
| createListData | () | method |
public function createListData(text:String, dataField:String, columnIndex:int):BaseListDataInternal method so we can hook into the List Data mechanism
Parameters
text:String — Text representation of the item data.
| |
dataField:String — Name of the field or property
in the data provider associated with the column.
| |
columnIndex:int — The column index of the item in the
columns for the DataGrid control.
|
BaseListData |
| getRowText | () | method |
public function getRowText(item:Object):StringConverts an objects properties into tab delimited format
Parameters
item:Object |
String |
| runCurrentSort | () | method |
public function runCurrentSort():voidRuns the sorts that are added via the addSort method
| 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):voidParameters
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) |