Packagecom.flexicious.grids.spark.print
Classpublic class ExtendedSparkPrintDataGrid
InheritanceExtendedSparkPrintDataGrid Inheritance ExtendedSparkDataGrid Inheritance SEdgBase Inheritance spark.components.DataGrid
Implements com.flexicious.print.printareas.IPrintDatagrid

Extended Spark DataGrid, with support for printing.

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
 InheritedadditionalFilterArgumentsFunction : 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.
SEdgBase
 InheritedautoLoadPreferences : Boolean = true
ExtendedSparkDataGrid
 InheritedclickBehavior : String
Grid can be setup to launch a popup when the user clicks or hovers.
ExtendedSparkDataGrid
 InheritedclickParentDisplayObject : DisplayObject
The parent object to use while calling PopupManager.addPopUp.
ExtendedSparkDataGrid
 InheritedclickPopupClass : IFactory
The popup class to launch.
ExtendedSparkDataGrid
 InheritedclickPopupHeight : Number
The height of the popup to launch when the clickBehavior is set.
ExtendedSparkDataGrid
 InheritedclickPopupTitle : String
The title of the popup to launch when the clickBehavior is set.
ExtendedSparkDataGrid
 InheritedclickPopupWidth : Number
The width of the popup to launch when the clickBehavior is set.
ExtendedSparkDataGrid
 InheritedcollectionManipulatorFactory : IFactory
The class that manages the collection filtering, paging and sorting.
ExtendedSparkDataGrid
 Inheritedcolumns : IList
[override] [write-only]
ExtendedSparkDataGrid
 Inherited_columnWidthsDirty : Boolean = false
ExtendedSparkDataGrid
 InheritedcopyAllRowsMenuText : String = Copy All Rows
Text for the Copy All Rows
ExtendedSparkDataGrid
 InheritedcopyCellMenuText : String = Copy Cell
Text for the Copy Cell Menu
ExtendedSparkDataGrid
 InheritedcopySelectedRowMenuText : String = Copy Selected Row
Text for the Copy Selected Row
ExtendedSparkDataGrid
 InheritedcurrentItemUnderMouse : Object
[read-only]
ExtendedSparkDataGrid
 InheriteddataProviderNoPaging : Object
[read-only] Gets a copy of the dataprovider with filter and sort applied, but no paging.
ExtendedSparkDataGrid
 InheriteddisplayOrder : 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.
SEdgBase
 InheritedenableColumnWidthMode : Boolean = true
Flag to use the columnWidthMode based column resizing.
ExtendedSparkDataGrid
 InheritedenableCopy : Boolean
A flag that indicates whether or not to show the context menu options to copy the cell,row, or table data
SEdgBase
 InheritedenableDoubleClickEdit : Boolean
Enables or disables keyboard navigation for filters.
SEdgBase
 InheritedenableExport : Boolean
A flag that may be used for binding purposes in the custom pager control.
SEdgBase
 InheritedenableFilters : Boolean
A flag that indicates whether or not to show the filters
SEdgBase
 InheritedenableFooters : Boolean
A flag that indicates whether or not to show the footer
SEdgBase
 InheritedenableKeyboardNavigation : Boolean
Enables or disables keyboard navigation for filters.
SEdgBase
 InheritedenableMultiplePreferences : Boolean
A Flag that will enable multiple named versions of preferences to be persisted.
ExtendedSparkDataGrid
 InheritedenablePaging : Boolean
A flag to indicate whether or not to enable paging functionality
ExtendedSparkDataGrid
 InheritedenablePreferencePersistence : Boolean
When set to true, causes the grid to look for settings stored previously in the local shared object store if preferencePersistenceMode='client' or dispatch an event requesting settings from the server in preferencePersistenceMode='server'
ExtendedSparkDataGrid
 InheritedenablePrint : Boolean
A flag that may be used for binding purposes in the custom pager control.
SEdgBase
 InheritedexcelOptions : ExportOptions
The Export options object that is used to configure the excel export behavior - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedexportableColumns : Array
[read-only] Returns a list of columns that have excludeFromExport=false (default)
ExtendedSparkDataGrid
 InheritedfilterPageSortMode : String
The Filter/Page/Sort Mode.
SEdgBase
 InheritedfilterRowHeight : Number
The height of the filter row.
ExtendedSparkDataGrid
 InheritedfilterVisible : Boolean
If you have enableFilters set to true but want the filter row to not appear, you can set this value.
ExtendedSparkDataGrid
 InheritedfooterRowHeight : Number
The height of the footer row.
ExtendedSparkDataGrid
 InheritedfooterVisible : Boolean
If you have enableFooters set to true but want the footer row to not appear, you can set this value.
ExtendedSparkDataGrid
 InheritedforcePagerRow : Boolean
Use this flag to show the pager control even if the enablePaging is set to false.
ExtendedSparkDataGrid
 InheritedgroupedColumns : Array
Unused/Not Applicable.
ExtendedSparkDataGrid
  headerHeight : Number
[read-only]
ExtendedSparkPrintDataGrid
 InheritedhorizontalScrollPolicy : String
Returns scroller.getStyle("horizontalScrollPolicy");
ExtendedSparkDataGrid
 InheritedhorizontalScrollPosition : Number
Returns scroller.getStyle("horizontalScrollPolicy");
ExtendedSparkDataGrid
 InheritedinitialSortAscending : 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.
SEdgBase
 InheritedinitialSortField : 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.
SEdgBase
 InheritedlistContent : Object
[read-only] returns scroller
ExtendedSparkDataGrid
 InheritedlockedColumnCount : int
[read-only] Unused/Not Applicable.
ExtendedSparkDataGrid
 InheritedlockedColumns : Array
[read-only] Returns columns 0 through x, where x=lockedColumnCount
SEdgBase
 InheritedlockedColumnWidth : int
[read-only] Returns the width of the locked columns
SEdgBase
 InheritedlockedHeader : DataGridHeader
[read-only] Returns the locked header row
SEdgBase
 InheritednativeExcelExporter : Exporter
The default exporter in flexicious is a pure CSV exporter.
ExtendedSparkDataGrid
 InheritedpageIndex : int
The current page index
ExtendedSparkDataGrid
 Inheritedpager : IPager
[read-only] Handle to the current IPager control.
ExtendedSparkDataGrid
 InheritedpagerPosition : String
The horizontal positioning of the contents of the pager.
SEdgBase
 InheritedpagerRenderer : IFactory
A Class that implements com.flexicious.controls.interfaces.IPager.
ExtendedSparkDataGrid
 InheritedpagerRowHeight : Number
The height of the pager row.
ExtendedSparkDataGrid
 InheritedpagerVisible : Boolean
If you have enablePaging set to true but want the pager row to not appear, you can set this value.
ExtendedSparkDataGrid
 InheritedpageSize : int
The number of records to display per page
ExtendedSparkDataGrid
 InheritedpdfOptions : PrintOptions
The Print options object that is used to configure the pdf behavior - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpdfPrinter : IPDFPrinter
A class that takes the PDF Pages as they are generated.
ExtendedSparkDataGrid
 InheritedpopupFactoryExportOptions : IFactory
The renderer that shows up when the user clicks on the Word or Excel button - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpopupFactoryOpenSettingsPopup : IFactory
The renderer that shows up when the user clicks on the Open Settings button - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpopupFactoryPrintOptions : IFactory
The renderer that shows up when the user clicks on the Print or PDF button - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpopupFactorySaveSettingsPopup : IFactory
The renderer that shows up when the user clicks on the Save Settings button - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpopupFactorySettingsPopup : IFactory
The renderer that shows up when the user clicks on the Settings button - currently only supported in Ultimate
ExtendedSparkDataGrid
 InheritedpreferencePersistenceKey : String
String value that uniquely identifies this grid across the application.
ExtendedSparkDataGrid
 InheritedpreferencePersistenceMode : String
String value "server" or "client".
ExtendedSparkDataGrid
 Inheritedpreferences : String
Returns an XML representation of the preferences specified in the preferencesToPersist property and values being the actual values.
ExtendedSparkDataGrid
 InheritedpreferencesLoaded : Boolean
[read-only] Returns true if the load preferences has been called.
ExtendedSparkDataGrid
 InheritedpreferencesSet : Boolean
A flag to indicate that the preferences for this grid has been set.
ExtendedSparkDataGrid
 InheritedpreferencesToPersist : String
A comma delimited string of the following values: columnOrder,columnVisiblity,columnWidth,filter,sort,verticalScroll,horizontalScroll Each represents a setting that can potentially be persisted.
ExtendedSparkDataGrid
 InheritedprintableColumns : Array
[read-only] Returns a list of columns that have excludeFromPrint=false (default)
ExtendedSparkDataGrid
 InheritedprintExportData : Object
Gets the records to print or to export.
SEdgBase
 InheritedprintExportParameters : 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.
SEdgBase
  printListItems : Array
[read-only]
ExtendedSparkPrintDataGrid
 InheritedprintOptions : PrintOptions
The Print options object that is used to configure the print behavior - currently only supported in Ultimate
ExtendedSparkDataGrid
  rowCount : int
[override] [read-only]
ExtendedSparkPrintDataGrid
 InheritedselectAllState : String
The state of the select all header checkbox.
ExtendedSparkDataGrid
 InheritedselectedKeyField : String
The property(attribute) of the type(class) of the objects contained within the collection bound to the dataProvider.
ExtendedSparkDataGrid
 InheritedselectedKeys : ArrayCollection
[read-only] Gets the keys of the objects selected by the user when used in conjunction with the selectedKeyField object
ExtendedSparkDataGrid
 InheritedselectedObjects : ArrayCollection
[read-only] Gets the objects selected by the user when used in conjunction with the selectedKeyField object
ExtendedSparkDataGrid
 InheritedsettingsColumns : Array
[read-only] Returns a list of columns that have excludeFromPrint=false (default)
ExtendedSparkDataGrid
 InheritedshowSpinnerOnCreationComplete : Boolean
ExtendedSparkDataGrid
 InheritedshowSpinnerOnFilterPageSort : Boolean
A flag when set, automatically shows the spinner on creation complete and any filter page or sort operation.
SEdgBase
 Inheritedspinner : ISpinner
ExtendedSparkDataGrid
 InheritedspinnerFactory : IFactory
Factory responsible for instantiating a new spinner.
ExtendedSparkDataGrid
 InheritedspinnerLabel : String
The label of the spinner control, you can use styles to control the appearance.
ExtendedSparkDataGrid
 InheritedtotalRecords : int
The total number of records (needs to be set only in server mode, because there is no way for the grid to know how many records on the server match the filter criteria) In client mode, the count of the data provider is used instead.
ExtendedSparkDataGrid
 InheritedunLockedColumns : Array
[read-only] Returns columns x through columns.count, where x=lockedColumnCount
ExtendedSparkDataGrid
 InheritedunLockedHeader : DataGridHeader
[read-only] Returns the unlocked part of the header
SEdgBase
 InheriteduseCompactPreferences : Boolean
If set to true, uses the newer preference persistence scheme introduced in Flexicious 2.0, which stores the preferences as custom string as opposed to XML, making it a lot less verbose.
ExtendedSparkDataGrid
 InheriteduseModuleFactory : Boolean
[read-only] Flag that indicates to use the module factory of the grid to show popups.
ExtendedSparkDataGrid
 InheriteduserSettingsOptionsFunction : Function
Hook for the client to plug in their own UserSettings.
ExtendedSparkDataGrid
  validNextPage : Boolean
[read-only] Indicates the data provider contains additional data rows that follow the rows that the PrintDataGrid control currently displays.
ExtendedSparkPrintDataGrid
 InheritedverticalScrollBarOffset : int
[read-only] If the vertical scrollbar is visible, returns the width of the vertical scroll bar.
SEdgBase
 InheritedverticalScrollPosition : Number
Returns scroller.getStyle("horizontalScrollPolicy");
ExtendedSparkDataGrid
 InheritedviewMetrics : EdgeMetrics
[read-only] Unused/Not applicable to the Nested DataGrid.
ExtendedSparkDataGrid
 InheritedvisibleColumns : Array
[read-only] Returns the visible columns from the unlocked header.
SEdgBase
 InheritedwordOptions : ExportOptions
The Export options object that is used to configure the word export behavior - currently only supported in Ultimate
ExtendedSparkDataGrid
Protected Properties
 PropertyDefined By
 Inherited_iPager : IPager
ExtendedSparkDataGrid
 Inherited_triggerEvent : Boolean = true
If we're setting filters programatically, we may not want the filterPageSortChange event to fire.
SEdgBase
Public Methods
 MethodDefined By
  
Constructor.
ExtendedSparkPrintDataGrid
 Inherited
addContextMenuItem(lbl:String, clickHandler:Function, separatorBefore:Boolean = false):void
Adds the specified context menu item to the context menu.
ExtendedSparkDataGrid
 Inherited
Calls clear on all internal filter controls, resetting the state
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
Clears the checkbox selections when used in conjunction with SelectAllCheckBoxHeaderColumn see com.flexicious.grids.columns.SelectAllCheckBoxHeaderColumn
ExtendedSparkDataGrid
 Inherited
clearSort():void
Clears out the sort.
SEdgBase
 Inherited
ExtendedSparkDataGrid
 Inherited
Consolidates the current state of all our filters, pager and sorts and creates a filter object that can be used to act on it
ExtendedSparkDataGrid
 Inherited
createPopup(popupData:Object):Object
Creates the popup.
ExtendedSparkDataGrid
 Inherited
Gets the class responsible for handling the PrintUI should be a IPrintDataGrid
ExtendedSparkDataGrid
 Inherited
By default, when the grid's creation complete event is dispatched, the grid will go in and load the saved preference.
ExtendedSparkDataGrid
 Inherited
When enableMultiplePreferences = true, this represents the currently applied preference
ExtendedSparkDataGrid
 Inherited
getDistinctValuesForColumn(dataField:String):ArrayCollection
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
getFilterArguments():ArrayCollection
ExtendedSparkDataGrid
 Inherited
getFilterColumn(searchField:String):Object
Given a field to search for, return the column that has it's searchField set to the provided value.
ExtendedSparkDataGrid
 Inherited
getFilterValue(column:String):*
Used to get the current value of the filter.
ExtendedSparkDataGrid
 Inherited
getFilterX(renderer:IFilterControl):Number
Used by filter to identify where relative position for each control for tabbing
ExtendedSparkDataGrid
 Inherited
When enableMultiplePreferences = true, this represents a list of all preferences saved for this grid.
ExtendedSparkDataGrid
 Inherited
Gets the item that was under the mouse last
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
getRowText(item:Object):String
Converts an objects properties into tab delimited format
SEdgBase
 Inherited
ExtendedSparkDataGrid
  
gotoRow(rowIndex:int):void
In addition to the basic nextPage function, we provide the gotoRow so user can easily jump back and forth on the preview window
ExtendedSparkPrintDataGrid
 Inherited
Removes the spinner and sets the listContent.alpha back to 1
ExtendedSparkDataGrid
 Inherited
[override] Need to invalidte our children when we invalidate.
ExtendedSparkDataGrid
 Inherited
Interface conformance, will simply reset the visibility of the footer, filter and pager groups.
ExtendedSparkDataGrid
 Inherited
Loads preference values from the Shared object, called automatically in preferencePersistenceMode=client.
ExtendedSparkDataGrid
  
nextPage():void
Puts the next set of data rows in view; that is, it sets the PrintDataGrid verticalScrollPosition property to equal verticalScrollPosition + (number of scrollable rows).
ExtendedSparkPrintDataGrid
 Inherited
pauseKeyboardListeners(filterRenderer:Object):void
For some operations, like shift tab and tab key up, purposely pause the Container keyboard listenters, so we do not overwrite the work of one keyboard handler by triggering another.
ExtendedSparkDataGrid
 Inherited
persistPreferences(name:String = Default, isDefault:Boolean = false):void
Persists the preferences as Shared Objects when preferencePersistenceMode=client or dispatches an event with the preference information when preferencePersistenceMode=server
ExtendedSparkDataGrid
 Inherited
If you want to control when the filter runs, set the filterTriggerEvent="none" on each of the columns, and call this function to trigger the filter
ExtendedSparkDataGrid
 Inherited
processSort(sorts:ArrayCollection):void
Used by state persistence to load sort settings that were persisted previously.
SEdgBase
 Inherited
Resets the position of each of the filter controls, the position, height and width of the filter and footer container rows, as well as the pager control This is done automatically when the columns are resized, or the list changes, or the grid is resized.
ExtendedSparkDataGrid
 Inherited
removeContextMenuItem(lbl:String):void
Removes the specified context menu item
ExtendedSparkDataGrid
 Inherited
setColumnWidthsUsingWidthMode(force:Boolean = false):void
Recalculates column widths on basis of columnWidthMode.
ExtendedSparkDataGrid
 Inherited
setContextMenuEnableDisable(lbl:String, enabled:Boolean):Boolean
Sets the enabled/disabled flag on the specified context menu item.
ExtendedSparkDataGrid
 Inherited
setContextMenuEnableVisible(lbl:String, visible:Boolean):Boolean
Sets the visible flag on the specified context menu item.
ExtendedSparkDataGrid
 Inherited
setCurrentPreferenceInfo(val:PreferenceInfo, applyPreferences:Boolean = true):void
When enableMultiplePreferences = true, applies the given preference as the current preference.
ExtendedSparkDataGrid
 Inherited
setFilterFocus(fld:String):Boolean
ExtendedSparkDataGrid
 Inherited
setFilterValue(column:String, value:Object, triggerEvent:Boolean = true):void
Used to set the initial value of the filter.
ExtendedSparkDataGrid
 Inherited
Sets the focus on the next focusable filter control, starting at column index 0.
ExtendedSparkDataGrid
 Inherited
setGridPreferencesInfo(val:GridPreferencesInfo, applyPreferences:Boolean = true):void
Sets the multiple preferences array.
ExtendedSparkDataGrid
  
setResizableColumns(val:Boolean):void
ExtendedSparkPrintDataGrid
 Inherited
showPopup(popupData:Object):Object
Launches the actual popup.
ExtendedSparkDataGrid
 Inherited
Shows the spinner with default values defined below: Label: "Loading please wait" X Position : center X of the grid Y Position : center Y of the grid Grid Alpa when the spinner is active : 0.3 Spinner appearance can be modified using styles .
ExtendedSparkDataGrid
 Inherited
showToaster(message:String, toasterPosition:String = BOTTOM_RIGHT, toasterRenderer:IFactory = null, animationDuration:Number = 1000, visibleDuration:Number = 5000, moveAnimate:Boolean = true, fadeAnimate:Boolean = true):void
[override]
ExtendedSparkDataGrid
Protected Methods
 MethodDefined By
 Inherited
adjustSelectionUponNavigation(event:KeyboardEvent):Boolean
[override]
ExtendedSparkDataGrid
 Inherited
[override]
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
returns UserSettingsOptions.create(this);
ExtendedSparkDataGrid
 Inherited
filterPageSort(rebuildPageIndex:Boolean, recalculateTotal:Boolean):void
In client mode, whenever there is a filter or a page or a sort, we basically so the filter, then do the sort, and then apply the page (which is really a filter on the page index)
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
keyDownHandler(event:KeyboardEvent):void
[override]
ExtendedSparkDataGrid
 Inherited
onCellContextMenuItemClick(event:ContextMenuEvent):void
Method to handle the click for the copy cell menu item Copies the current cell in tab delimited format into the clipboard
ExtendedSparkDataGrid
 Inherited
onCollectionChange(event:Event):void
ExtendedSparkDataGrid
 Inherited
onContextMenuShown(event:ContextMenuEvent):void
ExtendedSparkDataGrid
 Inherited
onHeaderRelease(evt:GridEvent):void
Need to handle the sort manually, because in client mode, we are sorting all the pages.
ExtendedSparkDataGrid
 Inherited
onItemRollover(event:ListEvent):void
For popup support, we keep track of what the user is hovering over.
ExtendedSparkDataGrid
 Inherited
onRowContextMenuItemClick(event:ContextMenuEvent):void
Adds the copy menu
ExtendedSparkDataGrid
 Inherited
onTableContextMenuItemClick(event:ContextMenuEvent):void
Method to handle the click for the copy table menu item Copies the current page in tab delimited format into the clipboard
ExtendedSparkDataGrid
  
partAdded(partName:String, instance:Object):void
[override]
ExtendedSparkPrintDataGrid
 Inherited
placeSort():void
Places the sort icon
SEdgBase
 Inherited
redrawHeaderAndFooter(event:Event):void
ExtendedSparkDataGrid
 Inherited
ExtendedSparkDataGrid
 Inherited
setPreferences(arrayCollection:ArrayCollection):void
Takes an array collection of preferences and applies them to the grid.
ExtendedSparkDataGrid
Events
 Event Summary Defined By
 InheritedDispatched when the grid is finished exporting.ExtendedSparkDataGrid
 InheritedDispatched right after a grid has printed.ExtendedSparkDataGrid
 InheritedDispatched when the grid is about to be exportedExtendedSparkDataGrid
 InheritedDispatched right before a grid is about to print.ExtendedSparkDataGrid
 InheritedFired when the grid needs to clear its preferences.ExtendedSparkDataGrid
 InheritedFired when the enableFilters Flag changesExtendedSparkDataGrid
 InheritedFired when the enableFooters Flag changesExtendedSparkDataGrid
 InheritedFired when the enablePaging Flag changesExtendedSparkDataGrid
 InheritedFired when the enablePreferencePersistence Flag changesExtendedSparkDataGrid
 InheritedFired when the filter is applied.ExtendedSparkDataGrid
 InheritedFired when the grid's page, sort or filter state changes.ExtendedSparkDataGrid
 InheritedFired In preferencePersistenceMode=server , when the grid needs to load its preferences.ExtendedSparkDataGrid
 InheritedFired when the Page Size changesExtendedSparkDataGrid
 InheritedFired when the grid needs to persist its preferences.ExtendedSparkDataGrid
 InheritedFired right before preferences are being loaded and applied.ExtendedSparkDataGrid
 InheritedFired only in server mode, when the grid needs to print or export more data than is currently loaded in memory.ExtendedSparkDataGrid
 InheritedFired when the select all checkbox is changedExtendedSparkDataGrid
 InheritedFired when the checkbox selection changesExtendedSparkDataGrid
Styles
 Style Description Defined By
 InheritedType: color CSS Inheritance: no
Color of the filter background.
ExtendedSparkDataGrid
 InheritedType: color CSS Inheritance: no
Color of the filter border.
ExtendedSparkDataGrid
 InheritedType: String Format: Length CSS Inheritance: no
Bounding box sides for the filter.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length CSS Inheritance: no
Bounding box thickness for the filter row.
ExtendedSparkDataGrid
 InheritedType: color CSS Inheritance: no
Color of the footer background.
ExtendedSparkDataGrid
 InheritedType: color CSS Inheritance: no
Color of the footer border.
ExtendedSparkDataGrid
 InheritedType: String Format: Length CSS Inheritance: no
Bounding box sides for the footer.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length CSS Inheritance: no
Bounding box thickness for the footer row.
ExtendedSparkDataGrid
 InheritedType: color CSS Inheritance: no
Color of the filter background.
ExtendedSparkDataGrid
 InheritedType: Array Format: Color
Colors for the spinners as an array.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length
Background color of the grid when the spinner is active.
ExtendedSparkDataGrid
 InheritedType: uint Format: Color
Bacground color for the box in which the label is displayed.
ExtendedSparkDataGrid
 InheritedType: uint Format: Color CSS Inheritance: yes
Label color for the spinner.
ExtendedSparkDataGrid
 InheritedType: String CSS Inheritance: yes
Label font family.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length CSS Inheritance: yes
Label font size.
ExtendedSparkDataGrid
 InheritedType: String CSS Inheritance: yes
Label font style.
ExtendedSparkDataGrid
 InheritedType: Number CSS Inheritance: yes
Label font thinkcness.
ExtendedSparkDataGrid
 InheritedType: String CSS Inheritance: yes
Label font weight.
ExtendedSparkDataGrid
 InheritedType: Boolean
A flag that controls whether or not to show the spinner.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length
Spinner radius , default value is 10.
ExtendedSparkDataGrid
 InheritedType: Number Format: Length
Spinner thickness , default value is 5.
ExtendedSparkDataGrid
 InheritedType: Boolean
A flag that asks the grid to use its module factory when instantiating popups.
ExtendedSparkDataGrid
Skin Parts

This component uses skins made up of skin parts. Do not set the skin parts directly. The component's skin sets the skin parts.


 Skin Part Description Defined By
 InheritedRequired: false Part Type: Static
The filter bar
ExtendedSparkDataGrid
 InheritedRequired: false Part Type: Static
The footer bar
ExtendedSparkDataGrid
 Inherited
pagerGroup:spark.components.Group
Required: false Part Type: Static
The footer bar
ExtendedSparkDataGrid
Property Detail
headerHeightproperty
headerHeight:Number  [read-only]


Implementation
    public function get headerHeight():Number
printListItemsproperty 
printListItems:Array  [read-only]


Implementation
    public function get printListItems():Array
rowCountproperty 
rowCount:int  [read-only] [override]


Implementation
    public function get rowCount():int
validNextPageproperty 
validNextPage:Boolean  [read-only]

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

Indicates the data provider contains additional data rows that follow the rows that the PrintDataGrid control currently displays.


Implementation
    public function get validNextPage():Boolean
Constructor Detail
ExtendedSparkPrintDataGrid()Constructor
public function ExtendedSparkPrintDataGrid()

Constructor.

Constructs a DataGrid without scrollbars or user interactivity: column sorting, resizing, drag scrolling, selection, or keyboard interaction. The default height is 100% of the container height

Method Detail
gotoRow()method
public function gotoRow(rowIndex:int):void

In addition to the basic nextPage function, we provide the gotoRow so user can easily jump back and forth on the preview window

Parameters

rowIndex:int

nextPage()method 
public function nextPage():void

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

Puts the next set of data rows in view; that is, it sets the PrintDataGrid verticalScrollPosition property to equal verticalScrollPosition + (number of scrollable rows).

partAdded()method 
override protected function partAdded(partName:String, instance:Object):void

Parameters

partName:String
 
instance:Object

setResizableColumns()method 
public function setResizableColumns(val:Boolean):void

Parameters

val:Boolean