Package | com.flexicious.lic |
Class | public class EdgBase |
Inheritance | EdgBase mx.controls.DataGrid |
Subclasses | ExtendedDataGrid |
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. | 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 |
Property | Defined By | ||
---|---|---|---|
_triggerEvent : Boolean = true
If we're setting filters programatically,
we may not want the filterPageSortChange event
to fire. | EdgBase |
Method | Defined By | ||
---|---|---|---|
EdgBase() | 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 |
Method | Defined By | ||
---|---|---|---|
placeSort():void
Places the sort icon
| EdgBase |
_triggerEvent | property |
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
additionalFilterArgumentsFunction | property |
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
public function get additionalFilterArgumentsFunction():Function
public function set additionalFilterArgumentsFunction(value:Function):void
displayOrder | property |
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.
public function get displayOrder():String
public function set displayOrder(value:String):void
enableCopy | property |
enableCopy:Boolean
A 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:Boolean
Enables or disables keyboard navigation for filters.
public function get enableDoubleClickEdit():Boolean
public function set enableDoubleClickEdit(value:Boolean):void
enableExport | property |
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.
public function get enableExport():Boolean
public function set enableExport(value:Boolean):void
enableFilters | property |
enableFilters:Boolean
A 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:Boolean
A 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:Boolean
Enables or disables keyboard navigation for filters.
public function get enableKeyboardNavigation():Boolean
public function set enableKeyboardNavigation(value:Boolean):void
enablePrint | property |
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.
public function get enablePrint():Boolean
public function set enablePrint(value:Boolean):void
filterPageSortMode | property |
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
.
public function get filterPageSortMode():String
public function set filterPageSortMode(value:String):void
See also
initialSortAscending | property |
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.
public function get initialSortAscending():Boolean
public function set initialSortAscending(value:Boolean):void
initialSortField | property |
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.
public function get initialSortField():String
public function set initialSortField(value:String):void
lockedColumns | property |
lockedColumns:Array
[read-only] Returns columns 0 through x, where x=lockedColumnCount
public function get lockedColumns():Array
lockedColumnWidth | property |
lockedColumnWidth:int
[read-only] Returns the width of the locked columns
public function get lockedColumnWidth():int
lockedHeader | property |
lockedHeader:DataGridHeader
[read-only] Returns the locked header row
public function get lockedHeader():DataGridHeader
pagerPosition | property |
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.
public function get pagerPosition():String
public function set pagerPosition(value:String):void
See also
printExportData | property |
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.
public function get printExportData():Object
public function set printExportData(value:Object):void
printExportParameters | property |
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.
public function get printExportParameters():Object
public function set printExportParameters(value:Object):void
showSpinnerOnFilterPageSort | property |
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.
public function get showSpinnerOnFilterPageSort():Boolean
public function set showSpinnerOnFilterPageSort(value:Boolean):void
unLockedHeader | property |
unLockedHeader:DataGridHeader
[read-only] Returns the unlocked part of the header
public function get unLockedHeader():DataGridHeader
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
EdgBase | () | Constructor |
public function EdgBase()
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 |
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 )
|