Home Reference Source
public class | source

FlexDataGridColumn

Extends:

react~React.ComponentEventDispatcher → FlexDataGridColumn

The FlexDataGridColumn class describes a column in a FlexDataGrid Column control.

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public

[Style(name="activeCellColor", type="uint", format="Color", inherit="yes")] The color of the cell directly under the mouse or if using keyboard navigation, current keyboard seed.

public

[Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The colors to use for the backgrounds of the items in the grid.

public

[Style(name="alternatingTextColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The colors to use for the text of the items in the grid.

public

[Style(name="backgroundColor", type="Array", arrayType="uint", format="Color", inherit="no")] Background color, the color of the fill area.

public

Value for the blank item in multi select combobox filter control Please note, there is a space in the front of this string so it shows up right below the "All" option.

public
this member was deprecated. Use the grid.cellBackgroundColorFunction instead.

A function that can be used to control the background color of each cell in this column.

public

A function that lets you control the border drawing mechanism for cell.

public

A function that lets you control the background drawing mechanism for cell.

public

A function that can be used to control the enabled flag of each cell in this column.

public

A function that can be used to control the Text color of each cell in this column.

public
public

color: *

[Style(name="color", type="uint", format="Color", inherit="yes")] Color of text in the component, including the component label.

public

[Style(name="columnGroupClosedIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to a closed column group.

public

[Style(name="columnGroupColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the Column Groups background gradient.

public

[Style(name="columnGroupDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border

public

[Style(name="columnGroupHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="columnGroupHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the header horizontal grid lines.

public

[Style(name="columnGroupHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

[Style(name="columnGroupOpenIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to an open column group.

public

[Style(name="columnGroupRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the Column Groups.

public

[Style(name="columnGroupStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column groups.

public

[Style(name="columnGroupVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="columnGroupVerticalGridLineThickness", type="Number", format="Length")] Thickness of the header vertical grid lines.

public

[Style(name="columnGroupVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

[Style(name="columnTextColor", type="uint", format="Color", inherit="yes")] The color of the cell text of each cell in this column.

public

Whether or not to include the header text in the calculation of the column width.

public

A function that takes column, data provider and returns a number that represents, in pixel terms the width that needs to be applied to the column.

public

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.

public

The name of the field or property in the data provider item associated with the column.

public

[Style(name="disabledColor", type="uint", format="Color", inherit="yes")] Color of text in the component if it is disabled.

public
  • [Style(name="disabledIcon")] When enableIcon=true, this property specifies the icon to display when enabled=false.
public

[Style(name="disclosureClosedIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to a closed branch node of the navigation tree.

public

[Style(name="disclosureOpenIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to an open branch node of the navigation tree.

public

Flag that indicates whether the user is allowed to resize the width of the column.

public

[Style(name="editItemColor", type="Array", arrayType="uint", format="Color")] The colors to use for the backgrounds of the items in the grid in the editable mode.

public

[Style(name="editTextColor", format="Color")] The colors to use for the text of the items in the editable grid.

public

The name of the property of the item editor that contains the new data for the list item.

public

[Style(name="editorStyleName", type="String")] Style to apply to the item editor.

public

Flag to enable selection of a row when a cell within that row is clicked.

public

For hierarchical datagrids, instead of having a separate column for icons, this flag will be used to embed an icon based on disclosureOpenIcon and disclosureClosedIcon within this column that will control the expand collapse of the row.

public

When filterControl=textInput, setting this flag to true will set the enableAutoComplete flag on the associated TextInput control Not Supported

public

For grouped datagrids, when a single column represents entities from various nest levels, its nice to visually indent them.

public

Flag to enable/disable icons within this cell.

public

Added to avoid flicker

public

For Grouped datagrids, searching on this column will cause match current item, as well as any of its children.

public

If set to true, this column wont be included in the export mechanism by default.

public

If set to true, this column wont be included in the print mechanism by default.

public

If set to true, this column wont be included in the quick find mechanism by default.

public

If set to true, this column wont be included in the settings popup by default.

public

Exclude this column from transposed mode.

public

[Style(name="expandCollapseIconBottom", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

public

[Style(name="expandCollapseIconLeft", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

public

[Style(name="expandCollapseIconRight", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

public

[Style(name="expandCollapseIconTop", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

public

filterCellRenderer: flexiciousNmsp.ClassFactory

Container for the footer renderer.

public

[Style(name="filterColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background for the filter.

public

Flag, if set to true, will automatically build this collection on basis of distinct values in the grid.

public

Used in conjunction with the @filterComboBoxDataProvider field, used to set the value of the data field for the associated ISelectFilterControl

public

Dataprovider to use to build the list of values to dipsplay in the filter control, only applicable if the filterControl is a

public

Used in conjunction with the @filterComboBoxDataProvider field, used to set the value of the label field for the associated ISelectFilterControl

public

Returns the width of the dropdown.

public

A function that takes an item, and a filterExpression, and returns true or false on basis of whether the provided item matches the filterExpression.

public

This is usually automatically set, you dont have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date

public

A function that takes an item, and returns a processed value for comparison.

public

Applicable only when the filtercontrol is a

public

[Style(name="filterDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

public

[Style(name="filterHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="filterHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the filter horizontal grid lines.

public

[Style(name="filterHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

[Style(name="filterIcon")] When filterControl=textInput, the icon that is displayed inside the textbox, based on the insideIconPosition property.

public

[Style(name="filterIconPosition", type="String", enumeration="left,right")] When filterControl=textInput, the position of the icon that is displayed inside the textbox.

public

The operator to apply when doing the conversion.

public

[Style(name="filterPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="filterPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="filterPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="filterPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="filterRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the filter.

public

The event that the filter triggers on.

public

[Style(name="filterVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="filterVerticalGridLineThickness", type="Number", format="Length")] Thickness of the filter vertical grid lines.

public

[Style(name="filterVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public
public

The alignment of the footer label

public

footerCellRenderer: flexiciousNmsp.ClassFactory

Container for the footer renderer.

public

[Style(name="footerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the footer background gradient.

public

[Style(name="footerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

public

footerFormatter: Formatter

Formatter for the footer label.

public

[Style(name="footerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="footerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the footer horizontal grid lines.

public

[Style(name="footerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

Label for the footer

public

A function that will return the footer label

public
public

The operation to apply to the footer.

public

Precision for the footer label

public

[Style(name="footerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="footerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="footerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="footerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

A renderer for the footer

public

[Style(name="footerRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the footer.

public

[Style(name="footerStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.

public

[Style(name="footerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="footerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the footer vertical grid lines.

public

[Style(name="footerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

Flag that controls whether or not to show variable sized footers.

public

Used by the doFormat method.

public

formatter: flexiciousNmsp.Formatter

Used by the doFormat method.

public

For currency formatter, the currency symbol.

public

For date formatters, the date format.

public

For number and currency formatters, the default number of digits after the decimal point.

public

grid: *

public

Performance optimization, is set to true if there is a complex fieldname or a labelFunction or labelFunction2

public

The alignment of the header label enumeration="left,right,center", defaultValue="left"

public

headerCellRenderer: flexiciousNmsp.ClassFactory

Container for the header renderer.

public

[Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the header background gradient.

public

[Style(name="headerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border

public

[Style(name="headerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="headerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the header horizontal grid lines.

public

[Style(name="headerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public
  • [Style(name="headerIcon")] When enableIcon=true, this property specifies the icon to display.
public
public

[Style(name="headerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="headerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="headerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="headerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

headerRenderer: flexiciousNmsp.ClassFactory

Storage for the headerRenderer property.

public

[Style(name="headerRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the header.

public

[Style(name="headerStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.

public

The default function for excel export.

public

A function that determines the header text for a column.

public

[Style(name="headerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="headerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the header vertical grid lines.

public

[Style(name="headerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

Flag that controls whether or not to show variable sized headers.

public

The header text is used in the column picker, export, etc.

public

In scenarios where you only want to display the icon, set enableIcon=true, and hideText=true;

public

[Style(name="horizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="horizontalGridLineThickness", type="Number", format="Length", inherit="yes")] Thickness of the horizontal grid lines.

public

[Style(name="horizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

icon: *

  • [Style(name="icon")] When enableIcon=true, this property specifies the icon to display.
public

[Style(name="iconBottom", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

public

If enableIcon=true, icon function for the icon.

public

If enableIcon=true, enables hand cursor on the icon

public

[Style(name="iconHeight", type="Number")] When enableIcon=true, To position the icon correctly, we need to know the height and width of the icon Since the icon is not yet drawn, sometimes we do not know how big the icon will be.

public

[Style(name="iconLeft", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

public

The delay to wait until dispatching the iconMouseOver event when the user mouse the mouse over the icon.

public

A function that allows you to position the icon when you provide an iconFunction or iconUrl.

public

[Style(name="iconRight", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

public

If enableIcon=true, tooltip for the icon

public

If enableIcon=true, tooltip function for the icon.

public

iconTooltipRenderer: flexiciousNmsp.ClassFactory

The renderer factory for the icon tooltip.

public

iconTop: *

[Style(name="iconTop", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

public

[Style(name="iconWidth", type="Number")] When enableIcon=true, To position the icon correctly, we need to know the height and width of the icon Since the icon is not yet drawn, sometimes we do not know how big the icon will be.

public
this member was deprecated. Use grid.cellEditableFunction

A function that takes a IFlexDataGridCell, and returns true if this cell is editable.

public

itemEditor: flexiciousNmsp.ClassFactory

A class factory for the instances of the item editor to use for the column, when it is editable.

public

In Edit mode, we only apply the new value to the model object when the user either hits the enter key or the tab key after typing input.

public

Indicates that the item editors manage their own persitence and populating the dataprovider back with their changes, so the editorDataField is ignored and the DataGrid does not write back the value from the editor into the data provider.

public

Function to call before committing the value of the item editor to the data provider.

public

itemRenderer: flexiciousNmsp.ClassFactory

The class factory for item renderer instances that display the data for each item in the column.

public

level: flexiciousNmsp.FlexDataGridColumnLevel

public
this member was deprecated.
public

The mininum width that a column can receive.

public

[Style(name="multiColumnSortNumberHeight", type="Number", inherit="no")] The height of the numeric value representing the order of the column sort.

public

[Style(name="multiColumnSortNumberStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the numeric value representing the order of the column sort.

public
public
  • [Style(name="overIcon")] When enableIcon=true, this property specifies the icon to display.
public

[Style(name="paddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="paddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="paddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="paddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="pagerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the pager background gradient.

public

[Style(name="pagerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

public

[Style(name="pagerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="pagerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the pager horizontal grid lines.

public

[Style(name="pagerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

[Style(name="pagerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="pagerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="pagerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="pagerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="pagerRollOverColors",type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the pager.

public

[Style(name="pagerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="pagerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the pager vertical grid lines.

public

[Style(name="pagerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

On creation complete, will use this to distribute the width of the grid among the visible columns in the specified ratio.

public

[Style(name="rendererColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the renderer background gradient.

public

[Style(name="rendererDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

public

[Style(name="rendererHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

public

[Style(name="rendererHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the renderer horizontal grid lines.

public

[Style(name="rendererHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows.

public

[Style(name="rendererPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="rendererPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public

[Style(name="rendererPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

public

[Style(name="rendererPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

public
  • [Style(name="rendererRollOverColors", type="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over a level renderer.
public

[Style(name="rendererVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="rendererVerticalGridLineThickness", type="Number", format="Length")] Thickness of the renderer vertical grid lines.

public

[Style(name="rendererVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

Flag that indicates whether the user is allowed to resize the width of the column.

public

A flag used to the identify that the responsive behaviour touched this columns visiblity, So later we can restore the column visiblity on grid resize.

public

in which priority level column should be hidden.

public

[Style(name="rollOverColor", type="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the row.

public
public

Flag that indicates whether the items in the column are selectable.

public

[Style(name="selectionColor", type="uint", format="Color", inherit="yes")] The color of the background for the row when the user selects an item renderer in the row.

public

[Style(name="selectionDisabledColor", type="uint", format="Color", inherit="yes")] The color of the background of a renderer when the component is disabled.

public

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.

public

If set to true, icon only shows when user hovers over the cell.

public

If set to true, icon only shows when user hovers over the row.

public

[Style(name="sortArrowSkin", type="Class", inherit="no")] The class to use as the skin for the arrow that indicates the column sort direction.

public

To sort this column insensitive of case.

public

A callback function that gets called when sorting the data in the column.

public

To sort this column numerically.

public

Flag that indicates whether the user can click on the header of this column to sort the data provider.

public

[Style(name="textAlign", type="String", enumeration="left,center,right", inherit="yes")] Alignment of text within a container.

public

[Style(name="textDisabledColor", type="uint", format="Color", inherit="yes")] The color of the text of a renderer when the component is disabled.

public

[Style(name="textRollOverColor", type="uint", format="Color", inherit="yes")] Color of the text when the user rolls over a row.

public

[Style(name="textSelectedColor", type="uint", format="Color", inherit="yes")] Color of the text when the user selects a row.

public

If this propery is true, the text that does not fit in the available size is truncated with "...".

public

Not supported

public

For list based item editors, setting this flag will use the dataprovider from the filter mechanism for the item editor.

public

Uses a special itemrenderer, which causes the mouse to turn into a hand cursor on hover.

public

Prior to dispatching the icon roll over, we use a timer so accidental roll over does not cause popups.

public

Flag, that defaults to true, indicates that in client filter mode, use the label function to perform the search (opposed) comparison to using the raw value of the "searchField" property of the column.

public

When you set to true, a custom sortCompareFunction is applied that uses the labelFunction instead of the dataField.

public

When true, if the renderer supports the text decoration style property, sets it to underline.

public

[Style(name="verticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

public

[Style(name="verticalGridLineThickness", type="Number", format="Length", inherit="yes")] Thickness of the vertical grid lines.

public

[Style(name="verticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns.

public

Flag to indicate that the text in this column can flow into multiple lines, based upon the width of the column.

Method Summary

Public Methods
public

calculateFooterValue(dataProvider: *, cell: flexiciousNmsp.FlexDataGridDataCell): String

a. The default text of the footer is calculated on basis of the following logic:
i. First we check to see if a footerLabelFunction2 is specified on the column.

public

defaultIconFunction(cell: flexiciousNmsp.FlexDataGridDataCell, state: string): *

Default Icon tooltip function.

public

defaultIconTooltipFunction(cell: flexiciousNmsp.FlexDataGridDataCell): string

Default Icon tooltip function.

public

defaultLabelFunction(col: flexiciousNmsp.FlexDataGridDataCell, dataProvider: *): String

  1. Checks to see the value of the columns footerOperation.
public

deriveRenderer(chromeType: *): *

Depending on the specified chrome type, gets the appropriate renderer.

public

dispatchEvent(event: *): *

Whenever a tree datagrid event is dispatched at any column, we also dispatch it from the level so if someone wants to listen for an event at all columns...

public

doFormat(retVal: *): *

The doFormat method returns formatted value on basis of the format properties (See description below)
If the input is null, returns null.

public

getAdjacentColumn(num: number): flexiciousNmsp.FlexDataGridColumn

public
public

Unused, for legacy purposes only

public
public

In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns.

public

In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns.

public

The columnWidthMode property on the column specifies how the column widths are applied.

public

Container for the item renderer.

public

The name of the field or property in the data provider item associated with the column.

public

getDistinctValues(dp: object, collection: Array, addedCodes: Array, lvl: flexiciousNmsp.FlexDataGridColumnLevel): Array

Returns this list of distinct values for this column, in a list of arraycollection which will have properties data and label.

public

Flag that indicates whether the items in the column are editable.

public

A control that implements IFilterControl

public

The actual control to render inside the header column.

public

getHeaderText(cell: flexiciousNmsp.FlexDataGridDataCell): string

Text for the header of this column.

public

The property on the model object that returns the url to the icon, if you wish to show different icons for each cell.

public
public

Returns true if the column is not right locked or IFixedWidth.

public
public
public
public
public
public
public

Returns true if the column is left locked.

public

Returns true if the column is left or right locked.

public

Returns true if the column is right locked.

public

MX and Spark Grids implement the sortable differently, so to match the interface.

public

For support in pickers

public

A function that determines the text to display in this column.

public

A specialized function that determines the text to display in this column, and takes the actual cell being (a) evaluated parameter.

public

getLevel(value: *): flexiciousNmsp.FlexDataGridColumnLevel

public

Gets the nest depth of the associated level.

public

getOwner(): flexiciousNmsp.FlexDataGrid

public
this method was deprecated. - now defaults to the uniqueIdentifier.

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.

public

The field that the filter should search on.

public

Similar to searchField, if you want to override what the database actually sorts when you sort this column

public

Similar to searchField, if you want to override what the database actually sorts when you sort this column

public

getStyleValue(styleProp: string): object

Gets the style value for the provided style property at the current level.

public

A key used to uniquely identify a column.

public

Flag that indicates whether the column is visible.

public

The width of the column, in pixels.

public

Current X position of this column relative to the container for its cells.

public
public

A function that is used when we have complex properties in the datafield.

public

itemToLabel(data: object, cell: flexiciousNmsp.FlexDataGridCell): *

Returns the String that the item renderer displays for the given data object.

public
public

kill()

public
public
public
public

setColumnWidthMode(val: *): *

public
public

setDataField(value: *)

public
public

The filter control to associate with this column.

public

setFilterRenderer(value: *)

public

setFooterFormatter(val: *): *

Formatter for the footer label

public
public
public
public
public
public

setSearchField(val: *)

public

setSortField(val: *)

public

setStyle(styleProp: string, value: *)

public
public
public

setWidth(value: number)

public

setX(value: number)

Inherited Summary

From class EventDispatcher
public

[prop]: *

public
public

A list of event listeners for this event dispatcher object.

public

typeCache: {}

public

addEventListener(context: *, type: *, listener: *)

Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.

public
public

dispatchEvent(event: *): boolean

Dispatches an event into the event flow.

public
public

getStyle(prop: *): *

Gets the value of the prop property on this object

public

Returns true if an event listener exists

public

Returns true if the class name to check is in the list of class names defined for this class.

public

kill()

Removes all event listeners

public

killArray(arr: *)

Given an array of event dispatchers, calls the kill method on each of them.

public

removeEventListener(type: *, listener: *)

Removes a listener from the EventDispatcher object.

public

setStyle(prop: *, val: *)

Sets the value of the prop property on this object

Public Constructors

public constructor() source

Override:

EventDispatcher#constructor

Public Members

public [styleProp]: * source

public activeCellColor: * source

[Style(name="activeCellColor", type="uint", format="Color", inherit="yes")] The color of the cell directly under the mouse or if using keyboard navigation, current keyboard seed.

Properties:

NameTypeAttributeDescription
activeCellColor *

public alternatingItemColors: * source

[Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The colors to use for the backgrounds of the items in the grid. The value is an array of two or more colors. The backgrounds of the list items alternate among the colors in the array.

Properties:

NameTypeAttributeDescription
alternatingItemColors *

public alternatingTextColors: * source

[Style(name="alternatingTextColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The colors to use for the text of the items in the grid. The value is an array of two colors. The text color of the list items alternate among the colors in the array.

Properties:

NameTypeAttributeDescription
alternatingTextColors *

public backgroundColor: * source

[Style(name="backgroundColor", type="Array", arrayType="uint", format="Color", inherit="no")] Background color, the color of the fill area.

Properties:

NameTypeAttributeDescription
backgroundColor *

public blankValuesLabel: string source

Value for the blank item in multi select combobox filter control Please note, there is a space in the front of this string so it shows up right below the "All" option.

Properties:

NameTypeAttributeDescription
blankValuesLabel *

public cellBackgroundColorFunction: Function source

this member was deprecated. Use the grid.cellBackgroundColorFunction instead.

A function that can be used to control the background color of each cell in this column. If this function is null or returns null, the cell will use the alternatingItemColors style property. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data ((well) data) as other related information found in the documentation of the FlexDataGridDataCell class. This function should return an array of colors for a gradient fill, or a single color hex code (uint) for a single color fill.

Properties:

NameTypeAttributeDescription
cellBackgroundColorFunction *

See:

public cellBorderFunction: Function source

A function that lets you control the border drawing mechanism for cell. By default, each cell will draw a 1px wide line to its right (if XXXXVerticalGridLines=true) and bottom (if XXXXhorizontalGridLines=true) ends.

This function offers you the opportunity to hook into this mechanism, and draw your own border using the graphics property of the FlexDataGridCell object, that is passed (a) in parameter to this function. If this function returns false, the default border is not drawn.

Properties:

NameTypeAttributeDescription
cellBorderFunction *

public cellCustomDrawFunction: Function source

A function that lets you control the background drawing mechanism for cell. By default, each cell will draw a background on basis of the XXXXColors style property and XXXXRollOverColors style property, where XXXX= header,filter,pager,footer,renderer or blank.

This function offers you the opportunity to hook into this mechanism, and draw your own background using the graphics property of the FlexDataGridCell object, that is passed (a) in parameter to this function. If this function returns false, the default background is not drawn.

Properties:

NameTypeAttributeDescription
cellCustomDrawFunction *

public cellDisabledFunction: Function source

A function that can be used to control the enabled flag of each cell in this column. If this function is null or returns null, the cell will be enabled, selectable, and rollovers will work. If this function returns false, the cell will not be selectable, the item renderers will be disabled and it will have no rollovers. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data ((well) data) as other related information found in the documentation of the FlexDataGridDataCell class. This function should true or false.

Properties:

NameTypeAttributeDescription
cellDisabledFunction *

See:

public cellTextColorFunction: Function source

A function that can be used to control the Text color of each cell in this column. If this function is null or returns null, the cell Text will use the alternatingTextColors style property. This function should take a IFlexDataGridDataCell object, which has a pointer to the row data ((well) data) as other related information found in the documentation of the FlexDataGridDataCell class. This function should return a single color hex code (uint).

@deprecated. Use the grid.cellTextColorFunction instead.

Properties:

NameTypeAttributeDescription
cellTextColorFunction *

See:

public clearFilterOnIconClick: boolean source

Properties:

NameTypeAttributeDescription
clearFilterOnIconClick *

See:

public color: * source

[Style(name="color", type="uint", format="Color", inherit="yes")] Color of text in the component, including the component label.

The default value for the Halo theme is 0x0B333C. The default value for the Spark theme is 0x000000.

Properties:

NameTypeAttributeDescription
color *

See:

public columnGroupClosedIcon: * source

[Style(name="columnGroupClosedIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to a closed column group.

The default value is TreeDisclosureClosed in the assets.swf file.

Properties:

NameTypeAttributeDescription
columnGroupClosedIcon *

public columnGroupColors: * source

[Style(name="columnGroupColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the Column Groups background gradient. The first color is the top color. The second color is the bottom color.

Properties:

NameTypeAttributeDescription
columnGroupColors *

public columnGroupDrawTopBorder: * source

[Style(name="columnGroupDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border

Properties:

NameTypeAttributeDescription
columnGroupDrawTopBorder *

public columnGroupHorizontalGridLineColor: * source

[Style(name="columnGroupHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
columnGroupHorizontalGridLineColor *

public columnGroupHorizontalGridLineThickness: * source

[Style(name="columnGroupHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the header horizontal grid lines.

Properties:

NameTypeAttributeDescription
columnGroupHorizontalGridLineThickness *

public columnGroupHorizontalGridLines: * source

[Style(name="columnGroupHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
columnGroupHorizontalGridLines *

public columnGroupOpenIcon: * source

[Style(name="columnGroupOpenIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to an open column group.

The default value is TreeDisclosureOpen in the assets.swf file.

Properties:

NameTypeAttributeDescription
columnGroupOpenIcon *

public columnGroupRollOverColors: * source

[Style(name="columnGroupRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the Column Groups.

The default value is [0xE6E6E6,0xFFFFFF]

Properties:

NameTypeAttributeDescription
columnGroupRollOverColors *

public columnGroupStyleName: * source

[Style(name="columnGroupStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column groups.

Properties:

NameTypeAttributeDescription
columnGroupStyleName *

See:

public columnGroupVerticalGridLineColor: * source

[Style(name="columnGroupVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
columnGroupVerticalGridLineColor *

public columnGroupVerticalGridLineThickness: * source

[Style(name="columnGroupVerticalGridLineThickness", type="Number", format="Length")] Thickness of the header vertical grid lines.

Properties:

NameTypeAttributeDescription
columnGroupVerticalGridLineThickness *

public columnGroupVerticalGridLines: * source

[Style(name="columnGroupVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
columnGroupVerticalGridLines *

public columnTextColor: * source

[Style(name="columnTextColor", type="uint", format="Color", inherit="yes")] The color of the cell text of each cell in this column. Usually these colors are controlled via the alternatingTextColors style property of the level or the grid. In case you wish to have this column have a specific text color, you may use this property. The default value is null

Properties:

NameTypeAttributeDescription
columnTextColor *

public columnWidthModeFitToContentExcludeHeader: boolean source

Whether or not to include the header text in the calculation of the column width.

Properties:

NameTypeAttributeDescription
columnWidthModeFitToContentExcludeHeader *

See:

public columnWidthModeFitToContentWidthCalculator: Function source

A function that takes column, data provider and returns a number that represents, in pixel terms the width that needs to be applied to the column. The dataprovider is the subset of the dataset upto this.columnWidthModeFitToContentSampleSize

Properties:

NameTypeAttributeDescription
columnWidthModeFitToContentWidthCalculator *

public columnWidthOffset: boolean source

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.

Properties:

NameTypeAttributeDescription
columnWidthOffset *

public dataField: * source

The name of the field or property in the data provider item associated with the column. Each DataGridColumn control requires this property and/or the labelFunction property to be set in order to calculate the displayable text for the item renderer. If the dataField and labelFunction properties are set, the data is displayed using the labelFunction and sorted using the dataField. If the property named in the dataField does not exist, the sortCompareFunction must be set for the sort to work correctly.

This value of this property is not necessarily the String that is displayed in the column header. This property is used only to access the data in the data provider. For more information, see the headerText property.

If you specify a complex property ,the grid takes over the sortCompareFunction, and the sortField property is ignored.

Properties:

NameTypeAttributeDescription
dataField *

See:

public disabledColor: * source

[Style(name="disabledColor", type="uint", format="Color", inherit="yes")] Color of text in the component if it is disabled.

Properties:

NameTypeAttributeDescription
disabledColor *

public disabledIcon: * source

  • [Style(name="disabledIcon")] When enableIcon=true, this property specifies the icon to display when enabled=false. If the icon is dynamic, use the dataField to specify the url instead.

Properties:

NameTypeAttributeDescription
disabledIcon *

public disclosureClosedIcon: * source

[Style(name="disclosureClosedIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to a closed branch node of the navigation tree.

The default value is TreeDisclosureClosed in the assets.swf file.

Properties:

NameTypeAttributeDescription
disclosureClosedIcon *

public disclosureOpenIcon: * source

[Style(name="disclosureOpenIcon", type="Class", format="EmbeddedFile", inherit="no")] The icon that is displayed next to an open branch node of the navigation tree. The default value is TreeDisclosureOpen in the assets.swf file.

Properties:

NameTypeAttributeDescription
disclosureOpenIcon *

public draggable: boolean source

Flag that indicates whether the user is allowed to resize the width of the column. Please note, left and right locked columns are not resizable

Properties:

NameTypeAttributeDescription
draggable *

public editItemColor: * source

[Style(name="editItemColor", type="Array", arrayType="uint", format="Color")] The colors to use for the backgrounds of the items in the grid in the editable mode. The value is an array two colors.

Properties:

NameTypeAttributeDescription
editItemColor *

public editTextColor: * source

[Style(name="editTextColor", format="Color")] The colors to use for the text of the items in the editable grid.

Properties:

NameTypeAttributeDescription
editTextColor *

public editorDataField: string source

The name of the property of the item editor that contains the new data for the list item.

Properties:

NameTypeAttributeDescription
editorDataField *

See:

public editorStyleName: * source

[Style(name="editorStyleName", type="String")] Style to apply to the item editor.

Properties:

NameTypeAttributeDescription
editorStyleName *

public enableCellClickRowSelect: boolean source

Flag to enable selection of a row when a cell within that row is clicked. You may choose to set this to false when you set selectable =true. When the user clicks on a cell, the row is automatically selected when the selection mode is either single row or multiple rows. When you have cells that are selectable, the user may wish to select the text in the (opposed) cell to selecting the row. Setting this flag to false will disable the row selection when any cell within this column is clicked.

Properties:

NameTypeAttributeDescription
enableCellClickRowSelect *

See:

public enableExpandCollapseIcon: boolean source

For hierarchical datagrids, instead of having a separate column for icons, this flag will be used to embed an icon based on disclosureOpenIcon and disclosureClosedIcon within this column that will control the expand collapse of the row.

Properties:

NameTypeAttributeDescription
enableExpandCollapseIcon *

See:

public enableFilterAutoComplete: boolean source

When filterControl=textInput, setting this flag to true will set the enableAutoComplete flag on the associated TextInput control Not Supported

Properties:

NameTypeAttributeDescription
enableFilterAutoComplete *

See:

public enableHierarchicalNestIndent: boolean source

For grouped datagrids, when a single column represents entities from various nest levels, its nice to visually indent them. Set this parameter to true for such columns If you wish to programatically control the padding, you could do so via the rendererInitialized event on the grid.

Properties:

NameTypeAttributeDescription
enableHierarchicalNestIndent *

See:

public enableIcon: boolean source

Flag to enable/disable icons within this cell.
For columns that have icons (with or without text), you can

  • Set enableIcons=true.
  • If it will be the same icon for cell, just set the "icon" style property on the column.
  • If it will be different icons based on some logic, you can either provide that via the iconField property, or specify an iconFunction.
  • If the cell will contain just an icon and no text, then set hideText/hideHeaderText to true.
  • If the header also needs an icon, use the headerIconUrl property.
  • Specify (iconLeft or iconRight) and (iconTop or iconBottom). If not specified, icon will be placed to the right middle of the cell.
  • If needed, Wire up the iconClick or iconMouseOver (delay)/iconMouseOut, and specify iconMouseOverDelay (default 250 msec).
  • Set enableIconHandCursor if needed.
  • Set the iconTooltip, iconTooltipFunction, iconTooltipRenderer (for custom interactive (needed) popovers).
  • Set the showIconOnRowHover and (needed) showIconOnCellHover (If you only wish to show the icon when the user hovers over the cell or the row.

Properties:

NameTypeAttributeDescription
enableIcon *

See:

public enableLocalStyles: boolean source

Added to avoid flicker

Properties:

NameTypeAttributeDescription
enableLocalStyles *

public enableRecursiveSearch: boolean source

For Grouped datagrids, searching on this column will cause match current item, as well as any of its children. If any children match, this item matches as well.

Properties:

NameTypeAttributeDescription
enableRecursiveSearch *

See:

public excludeFromExport: boolean source

If set to true, this column wont be included in the export mechanism by default.

Properties:

NameTypeAttributeDescription
excludeFromExport *

See:

public excludeFromPrint: boolean source

If set to true, this column wont be included in the print mechanism by default.

Properties:

NameTypeAttributeDescription
excludeFromPrint *

See:

public excludeFromQuickFind: boolean source

If set to true, this column wont be included in the quick find mechanism by default.

Properties:

NameTypeAttributeDescription
excludeFromQuickFind *

public excludeFromSettings: boolean source

If set to true, this column wont be included in the settings popup by default.

Properties:

NameTypeAttributeDescription
excludeFromSettings *

See:

public excludeFromTransposedMode: boolean source

Exclude this column from transposed mode.

Properties:

NameTypeAttributeDescription
excludeFromTransposedMode *

public expandCollapseIconBottom: * source

[Style(name="expandCollapseIconBottom", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

Properties:

NameTypeAttributeDescription
expandCollapseIconBottom *

public expandCollapseIconLeft: * source

[Style(name="expandCollapseIconLeft", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

Properties:

NameTypeAttributeDescription
expandCollapseIconLeft *

public expandCollapseIconRight: * source

[Style(name="expandCollapseIconRight", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

Properties:

NameTypeAttributeDescription
expandCollapseIconRight *

public expandCollapseIconTop: * source

[Style(name="expandCollapseIconTop", type="Number")] When enableExpandCollapseIcon=true, To position the icon correctly, you can set either expandCollapseIconLeft or expandCollapseIconRight, and expandCollapseIconTop or expandCollapseIconBottom

Properties:

NameTypeAttributeDescription
expandCollapseIconTop *

public filterCellRenderer: flexiciousNmsp.ClassFactory source

Container for the footer renderer. Needs to inherit from FlexDataGridFooterCell. Defaults to FlexDataGridFooterCell

Properties:

NameTypeAttributeDescription
filterCellRenderer *

public filterColors: * source

[Style(name="filterColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background for the filter. The default value is [0xCFCFCF,0xCFCFCF]

Properties:

NameTypeAttributeDescription
filterColors *

public filterComboBoxBuildFromGrid: boolean source

Flag, if set to true, will automatically build this collection on basis of distinct values in the grid.

Properties:

NameTypeAttributeDescription
filterComboBoxBuildFromGrid *

See:

public filterComboBoxDataField: String source

Used in conjunction with the @filterComboBoxDataProvider field, used to set the value of the data field for the associated ISelectFilterControl

Properties:

NameTypeAttributeDescription
filterComboBoxDataField *

See:

public filterComboBoxLabelField: String source

Used in conjunction with the @filterComboBoxDataProvider field, used to set the value of the label field for the associated ISelectFilterControl

Properties:

NameTypeAttributeDescription
filterComboBoxLabelField *

See:

public filterComboBoxWidth: number source

Returns the width of the dropdown. Applicable only when the filter controls are comboboxes

Properties:

NameTypeAttributeDescription
filterComboBoxWidth *

See:

public filterCompareFunction: Function source

A function that takes an item, and a filterExpression, and returns true or false on basis of whether the provided item matches the filterExpression. Please note, the filterExpression has a pointer to the iFilterControl that it was created from.

Properties:

NameTypeAttributeDescription
filterCompareFunction *

public filterComparisionType: String source

This is usually automatically set, you dont have to manually set it, unless you're sending strings as Date objects. When set, will attempt to first convert the current value to the type you specified and then do the conversion. Values : auto,string,number,boolean,date

Properties:

NameTypeAttributeDescription
filterComparisionType *

public filterConverterFunction: Function source

A function that takes an item, and returns a processed value for comparison. For example, if your backend sends down strings that represents a date, wire this function up and return a date object for comparison purposes.

Properties:

NameTypeAttributeDescription
filterConverterFunction *

See:

public filterDrawTopBorder: * source

[Style(name="filterDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

Properties:

NameTypeAttributeDescription
filterDrawTopBorder *

public filterHorizontalGridLineColor: * source

[Style(name="filterHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
filterHorizontalGridLineColor *

public filterHorizontalGridLineThickness: * source

[Style(name="filterHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the filter horizontal grid lines.

Properties:

NameTypeAttributeDescription
filterHorizontalGridLineThickness *

public filterHorizontalGridLines: * source

[Style(name="filterHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
filterHorizontalGridLines *

public filterIcon: * source

[Style(name="filterIcon")] When filterControl=textInput, the icon that is displayed inside the textbox, based on the insideIconPosition property.

Properties:

NameTypeAttributeDescription
filterIcon *

public filterIconPosition: * source

[Style(name="filterIconPosition", type="String", enumeration="left,right")] When filterControl=textInput, the position of the icon that is displayed inside the textbox. Default 'right'

Properties:

NameTypeAttributeDescription
filterIconPosition *

public filterOperation: String source

The operator to apply when doing the conversion. See FILTER_OPERATION_TYPE constant values from com.flexicious.grids.filters.FilterExpression. Here are a list of options:

  • Equals
  • NotEquals
  • BeginsWith
  • EndsWith
  • Contains
  • DoesNotContain
  • GreaterThan
  • LessThan
  • GreaterThanEquals
  • LessThanEquals
  • InList
  • NotInList
  • Between

Properties:

NameTypeAttributeDescription
filterOperation *

See:

public filterPaddingBottom: * source

[Style(name="filterPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
filterPaddingBottom *

public filterPaddingLeft: * source

[Style(name="filterPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
filterPaddingLeft *

See:

public filterPaddingRight: * source

[Style(name="filterPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
filterPaddingRight *

public filterPaddingTop: * source

[Style(name="filterPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
filterPaddingTop *

public filterRollOverColors: * source

[Style(name="filterRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the filter. The default value is [0xCFCFCF,0xCFCFCF]

Properties:

NameTypeAttributeDescription
filterRollOverColors *

public filterTriggerEvent: String source

The event that the filter triggers on. Defaults to "change", or if the filterRenderer supports com.flexicious.controls.interfaces.IDelayedChange, then the delayedChange event. "none,change,enterKeyUp"

Properties:

NameTypeAttributeDescription
filterTriggerEvent *

See:

public filterVerticalGridLineColor: * source

[Style(name="filterVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
filterVerticalGridLineColor *

public filterVerticalGridLineThickness: * source

[Style(name="filterVerticalGridLineThickness", type="Number", format="Length")] Thickness of the filter vertical grid lines.

Properties:

NameTypeAttributeDescription
filterVerticalGridLineThickness *

public filterVerticalGridLines: * source

[Style(name="filterVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
filterVerticalGridLines *

public filterWaterMark: String source

Properties:

NameTypeAttributeDescription
filterWaterMark *

See:

public footerAlign: String source

The alignment of the footer label

Properties:

NameTypeAttributeDescription
footerAlign *

See:

public footerCellRenderer: flexiciousNmsp.ClassFactory source

Container for the footer renderer. Needs to inherit from FlexDataGridFooterCell. Defaults to FlexDataGridFooterCell

Properties:

NameTypeAttributeDescription
footerCellRenderer *

public footerColors: * source

[Style(name="footerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the footer background gradient. The first color is the top color. The second color is the bottom color.

Properties:

NameTypeAttributeDescription
footerColors *

public footerDrawTopBorder: * source

[Style(name="footerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

Properties:

NameTypeAttributeDescription
footerDrawTopBorder *

public footerFormatter: Formatter source

Formatter for the footer label.

Properties:

NameTypeAttributeDescription
footerFormatter *

See:

public footerHorizontalGridLineColor: * source

[Style(name="footerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
footerHorizontalGridLineColor *

public footerHorizontalGridLineThickness: * source

[Style(name="footerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the footer horizontal grid lines.

Properties:

NameTypeAttributeDescription
footerHorizontalGridLineThickness *

public footerHorizontalGridLines: * source

[Style(name="footerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
footerHorizontalGridLines *

public footerLabel: null source

Label for the footer

Properties:

NameTypeAttributeDescription
footerLabel *

See:

public footerLabelFunction: Function source

A function that will return the footer label

Properties:

NameTypeAttributeDescription
footerLabelFunction *

See:

public footerLabelFunction2: Function source

Properties:

NameTypeAttributeDescription
footerLabelFunction2 *

See:

public footerOperation: String source

The operation to apply to the footer. One of the following values:

  • average
  • sum
  • min
  • max
  • count

Properties:

NameTypeAttributeDescription
footerOperation *

See:

public footerOperationPrecision: number source

Precision for the footer label

Properties:

NameTypeAttributeDescription
footerOperationPrecision *

See:

public footerPaddingBottom: * source

[Style(name="footerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
footerPaddingBottom *

public footerPaddingLeft: * source

[Style(name="footerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
footerPaddingLeft *

public footerPaddingRight: * source

[Style(name="footerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
footerPaddingRight *

public footerPaddingTop: * source

[Style(name="footerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
footerPaddingTop *

public footerRenderer: * source

A renderer for the footer

Properties:

NameTypeAttributeDescription
footerRenderer *

public footerRollOverColors: * source

[Style(name="footerRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the footer. The default value is [0xCCCCCC,0xCFCFCF]

Properties:

NameTypeAttributeDescription
footerRollOverColors *

public footerStyleName: * source

[Style(name="footerStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.

Properties:

NameTypeAttributeDescription
footerStyleName *

public footerVerticalGridLineColor: * source

[Style(name="footerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
footerVerticalGridLineColor *

public footerVerticalGridLineThickness: * source

[Style(name="footerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the footer vertical grid lines.

Properties:

NameTypeAttributeDescription
footerVerticalGridLineThickness *

public footerVerticalGridLines: * source

[Style(name="footerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
footerVerticalGridLines *

public footerWordWrap: boolean source

Flag that controls whether or not to show variable sized footers. The height of the footer section is increased until the longest text is fully shown

Properties:

NameTypeAttributeDescription
footerWordWrap *

public format: String source

Used by the doFormat method. One of the following values: FlexDataGridColumn.FORMAT_NONE="none"; FlexDataGridColumn.FORMAT_DATE="date"; FlexDataGridColumn.FORMAT_DATE_TIME="datetime"; FlexDataGridColumn.FORMAT_TIME="time"; FlexDataGridColumn.FORMAT_CURRENCY="currency"; FlexDataGridColumn.FORMAT_NUMBER="number";

Properties:

NameTypeAttributeDescription
format *

See:

public formatter: flexiciousNmsp.Formatter source

Used by the doFormat method. Formatter to use when format not equals none. On basis of format, a new formatter is initialized. If you wish to override the format of the default formatter, you can provide your own formatter here.

Properties:

NameTypeAttributeDescription
formatter *

public formatterCurrencySymbol: String source

For currency formatter, the currency symbol. Defaults to blank value.

Properties:

NameTypeAttributeDescription
formatterCurrencySymbol *

public formatterDateFormatString: String source

For date formatters, the date format. Defaults to blank value. Initialized on basis of date format. If you wish to override the default format, you can use this string.

Properties:

NameTypeAttributeDescription
formatterDateFormatString *

public formatterPrecision: number source

For number and currency formatters, the default number of digits after the decimal point. Defaults to 2

Properties:

NameTypeAttributeDescription
formatterPrecision *

public grid: * source

public hasComplexDisplay: boolean source

Performance optimization, is set to true if there is a complex fieldname or a labelFunction or labelFunction2

Properties:

NameTypeAttributeDescription
hasComplexDisplay *

public headerAlign: String source

The alignment of the header label enumeration="left,right,center", defaultValue="left"

Properties:

NameTypeAttributeDescription
headerAlign *

See:

public headerCellRenderer: flexiciousNmsp.ClassFactory source

Container for the header renderer. Needs to inherit from FlexDataGridHeaderCell. Defaults to FlexDataGridHeaderCell

Properties:

NameTypeAttributeDescription
headerCellRenderer *

public headerColors: * source

[Style(name="headerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the header background gradient. The first color is the top color. The second color is the bottom color.

Properties:

NameTypeAttributeDescription
headerColors *

public headerDrawTopBorder: * source

[Style(name="headerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border

Properties:

NameTypeAttributeDescription
headerDrawTopBorder *

public headerHorizontalGridLineColor: * source

[Style(name="headerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
headerHorizontalGridLineColor *

public headerHorizontalGridLineThickness: * source

[Style(name="headerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the header horizontal grid lines.

Properties:

NameTypeAttributeDescription
headerHorizontalGridLineThickness *

public headerHorizontalGridLines: * source

[Style(name="headerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
headerHorizontalGridLines *

public headerIcon: * source

  • [Style(name="headerIcon")] When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.

Properties:

NameTypeAttributeDescription
headerIcon *

public headerLabelFunction2: Function source

Properties:

NameTypeAttributeDescription
headerLabelFunction2 *

public headerPaddingBottom: * source

[Style(name="headerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
headerPaddingBottom *

public headerPaddingLeft: * source

[Style(name="headerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
headerPaddingLeft *

See:

public headerPaddingRight: * source

[Style(name="headerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
headerPaddingRight *

public headerPaddingTop: * source

[Style(name="headerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
headerPaddingTop *

public headerRenderer: flexiciousNmsp.ClassFactory source

Storage for the headerRenderer property.

Properties:

NameTypeAttributeDescription
headerRenderer *

See:

public headerRollOverColors: * source

[Style(name="headerRollOverColors", type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the header.

The default value is [0xE6E6E6,0xFFFFFF]

Properties:

NameTypeAttributeDescription
headerRollOverColors *

public headerStyleName: * source

[Style(name="headerStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the column headers.

Properties:

NameTypeAttributeDescription
headerStyleName *

See:

public headerTextForExportFunction: Function source

The default function for excel export. By default, we will return the header text If the parent is a column group, we will concatenate its text to the excel export.

Properties:

NameTypeAttributeDescription
headerTextForExportFunction *

public headerTextFunction: Function source

A function that determines the header text for a column. Should take a column.

Properties:

NameTypeAttributeDescription
headerTextFunction *

public headerVerticalGridLineColor: * source

[Style(name="headerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
headerVerticalGridLineColor *

public headerVerticalGridLineThickness: * source

[Style(name="headerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the header vertical grid lines.

Properties:

NameTypeAttributeDescription
headerVerticalGridLineThickness *

public headerVerticalGridLines: * source

[Style(name="headerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
headerVerticalGridLines *

public headerWordWrap: boolean source

Flag that controls whether or not to show variable sized headers. The height of the header section is increased until the longest text is fully shown

Properties:

NameTypeAttributeDescription
headerWordWrap *

See:

public hideHeaderText: boolean source

The header text is used in the column picker, export, etc. However, if you do not wish for it to be displayed in the view, set this to true. Used for IconColumns.

Properties:

NameTypeAttributeDescription
hideHeaderText *

public hideText: boolean source

In scenarios where you only want to display the icon, set enableIcon=true, and hideText=true;

Properties:

NameTypeAttributeDescription
hideText *

See:

public horizontalGridLineColor: * source

[Style(name="horizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
horizontalGridLineColor *

public horizontalGridLineThickness: * source

[Style(name="horizontalGridLineThickness", type="Number", format="Length", inherit="yes")] Thickness of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
horizontalGridLineThickness *

public horizontalGridLines: * source

[Style(name="horizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
horizontalGridLines *

public icon: * source

  • [Style(name="icon")] When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.

Properties:

NameTypeAttributeDescription
icon *

public iconBottom: * source

[Style(name="iconBottom", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

Properties:

NameTypeAttributeDescription
iconBottom *

public iconFunction: Function source

If enableIcon=true, icon function for the icon. Default implementation has the following logic:
1) If this is a header cell, returns the value of the headerIcon style property
2) Else if this is a data cell, and the value of either the icon,overIcon or disabledIcon style property on basis of the passed in state is available, returns it.
3) Else if this is a data cell, and the iconField is not empty, returns the value of the iconField for the row data
Should take an IFlexDataGridCell object.

Properties:

NameTypeAttributeDescription
iconFunction *

See:

public iconHandCursor: boolean source

If enableIcon=true, enables hand cursor on the icon

Properties:

NameTypeAttributeDescription
iconHandCursor *

See:

public iconHeight: * source

[Style(name="iconHeight", type="Number")] When enableIcon=true, To position the icon correctly, we need to know the height and width of the icon Since the icon is not yet drawn, sometimes we do not know how big the icon will be. This property lets you specify that.

Properties:

NameTypeAttributeDescription
iconHeight *

public iconLeft: * source

[Style(name="iconLeft", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

Properties:

NameTypeAttributeDescription
iconLeft *

public iconMouseOverDelay: number source

The delay to wait until dispatching the iconMouseOver event when the user mouse the mouse over the icon. Defaults to 500

Properties:

NameTypeAttributeDescription
iconMouseOverDelay *

public iconPlacementFunction: Function source

A function that allows you to position the icon when you provide an iconFunction or iconUrl. By default, we use the iconLeft, iconRight, iconTop and iconBottom style properties. However incase of hierarchical grids, you may want to control the positioning of the icon. Takes a FlexDataGridCell object, and a Image object. The image object is already positioned x,y at the result of the calculation based upon iconLeft, Right, Top and Bottom properties for you to make additional adjustments.

Properties:

NameTypeAttributeDescription
iconPlacementFunction *

public iconRight: * source

[Style(name="iconRight", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

Properties:

NameTypeAttributeDescription
iconRight *

public iconToolTip: string source

If enableIcon=true, tooltip for the icon

Properties:

NameTypeAttributeDescription
iconToolTip *

See:

public iconToolTipFunction: Function source

If enableIcon=true, tooltip function for the icon. Default implementation returns the value of the iconToolTip. Should take an IFlexDataGridCell object.

Properties:

NameTypeAttributeDescription
iconToolTipFunction *

public iconTooltipRenderer: flexiciousNmsp.ClassFactory source

The renderer factory for the icon tooltip. Defaults to null. If null, we simply show a string tooltip, else we call the showToolTip function on the grid passing in an instance of the class factory specified here.

Properties:

NameTypeAttributeDescription
iconTooltipRenderer *

See:

public iconTop: * source

[Style(name="iconTop", type="Number")] When enableIcon=true, To position the icon correctly, you can set either iconLeft or iconRight, and iconTop or iconBottom

Properties:

NameTypeAttributeDescription
iconTop *

public iconWidth: * source

[Style(name="iconWidth", type="Number")] When enableIcon=true, To position the icon correctly, we need to know the height and width of the icon Since the icon is not yet drawn, sometimes we do not know how big the icon will be. This property lets you specify that.

Properties:

NameTypeAttributeDescription
iconWidth *

public isEditableFunction: Function source

this member was deprecated. Use grid.cellEditableFunction

A function that takes a IFlexDataGridCell, and returns true if this cell is editable. Use this in scenarios where some cells out of a column are not editable.

Properties:

NameTypeAttributeDescription
isEditableFunction *

See:

public itemEditor: flexiciousNmsp.ClassFactory source

A class factory for the instances of the item editor to use for the column, when it is editable.

Properties:

NameTypeAttributeDescription
itemEditor *

See:

public itemEditorApplyOnValueCommit: boolean source

In Edit mode, we only apply the new value to the model object when the user either hits the enter key or the tab key after typing input. This works fine for most cases, but for ItemEditors like date fields or Select Boxes, you may wish to apply the value on Change. In this case, set this flag to true.

Properties:

NameTypeAttributeDescription
itemEditorApplyOnValueCommit *

See:

public itemEditorManagesPersistence: boolean source

Indicates that the item editors manage their own persitence and populating the dataprovider back with their changes, so the editorDataField is ignored and the DataGrid does not write back the value from the editor into the data provider. When you set itemEditorManagesPersistence, the itemEditorValidatorFunction or itemEditorApplyValueOnCommit are ignored, since we completely handover the responsibility of validating and persisting the data from the editor back into the dataprovider to the editor

Properties:

NameTypeAttributeDescription
itemEditorManagesPersistence *

See:

public itemEditorValidatorFunction: Function source

Function to call before committing the value of the item editor to the data provider. Should take a View with is the item editor, and return a true or a false. If false, value is not committed If true, value is committed.

Properties:

NameTypeAttributeDescription
itemEditorValidatorFunction *

See:

public itemRenderer: flexiciousNmsp.ClassFactory source

The class factory for item renderer instances that display the data for each item in the column. You can specify a ClassFactory ustom item renderer component as the value of this property.

The default item renderer is a TextView class, which displays the item data as text.

Each Data Cell in the grid is contains an instance of this class.

Properties:

NameTypeAttributeDescription
itemRenderer *

See:

public level: flexiciousNmsp.FlexDataGridColumnLevel source

Properties:

NameTypeAttributeDescription
level *

See:

public linkText: * source

this member was deprecated.

Properties:

NameTypeAttributeDescription
linkText *

public minWidth: number source

The mininum width that a column can receive.

After all calculations are made, it could result in some columns being squished beyond a certain value, where they're hardly visible. Setting a value for this property ensure this does not happen.

Properties:

NameTypeAttributeDescription
minWidth *

See:

public multiColumnSortNumberHeight: * source

[Style(name="multiColumnSortNumberHeight", type="Number", inherit="no")] The height of the numeric value representing the order of the column sort.

Properties:

NameTypeAttributeDescription
multiColumnSortNumberHeight *

public multiColumnSortNumberStyleName: * source

[Style(name="multiColumnSortNumberStyleName", type="String", inherit="no")] The name of a CSS style declaration for controlling other aspects of the appearance of the numeric value representing the order of the column sort.

Properties:

NameTypeAttributeDescription
multiColumnSortNumberStyleName *

public multiColumnSortNumberWidth: number source

Properties:

NameTypeAttributeDescription
multiColumnSortNumberWidth *

public overIcon: * source

  • [Style(name="overIcon")] When enableIcon=true, this property specifies the icon to display. If the icon is dynamic, use the dataField to specify the url instead.

Properties:

NameTypeAttributeDescription
overIcon *

public paddingBottom: * source

[Style(name="paddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
paddingBottom *

See:

public paddingLeft: * source

[Style(name="paddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
paddingLeft *

See:

public paddingRight: * source

[Style(name="paddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
paddingRight *

See:

public paddingTop: * source

[Style(name="paddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
paddingTop *

public pagerColors: * source

[Style(name="pagerColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the pager background gradient. The first color is the top color. The second color is the bottom color.

Properties:

NameTypeAttributeDescription
pagerColors *

public pagerDrawTopBorder: * source

[Style(name="pagerDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

Properties:

NameTypeAttributeDescription
pagerDrawTopBorder *

public pagerHorizontalGridLineColor: * source

[Style(name="pagerHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
pagerHorizontalGridLineColor *

public pagerHorizontalGridLineThickness: * source

[Style(name="pagerHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the pager horizontal grid lines.

Properties:

NameTypeAttributeDescription
pagerHorizontalGridLineThickness *

public pagerHorizontalGridLines: * source

[Style(name="pagerHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
pagerHorizontalGridLines *

public pagerPaddingBottom: * source

[Style(name="pagerPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
pagerPaddingBottom *

public pagerPaddingLeft: * source

[Style(name="pagerPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
pagerPaddingLeft *

public pagerPaddingRight: * source

[Style(name="pagerPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
pagerPaddingRight *

public pagerPaddingTop: * source

[Style(name="pagerPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
pagerPaddingTop *

public pagerRollOverColors: * source

[Style(name="pagerRollOverColors",type="Array", arrayType="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the pager. The default value is [0xE6E6E6,0xFFFFFF]

Properties:

NameTypeAttributeDescription
pagerRollOverColors *

public pagerVerticalGridLineColor: * source

[Style(name="pagerVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
pagerVerticalGridLineColor *

public pagerVerticalGridLineThickness: * source

[Style(name="pagerVerticalGridLineThickness", type="Number", format="Length")] Thickness of the pager vertical grid lines.

Properties:

NameTypeAttributeDescription
pagerVerticalGridLineThickness *

public pagerVerticalGridLines: * source

[Style(name="pagerVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
pagerVerticalGridLines *

public percentWidth: number source

On creation complete, will use this to distribute the width of the grid among the visible columns in the specified ratio.

Properties:

NameTypeAttributeDescription
percentWidth *

See:

public rendererColors: * source

[Style(name="rendererColors", type="Array", arrayType="uint", format="Color", inherit="yes")] An array of two colors used to draw the renderer background gradient. The first color is the top color. The second color is the bottom color.

Properties:

NameTypeAttributeDescription
rendererColors *

public rendererDrawTopBorder: * source

[Style(name="rendererDrawTopBorder", type="Boolean", inherit="no")] Flag that indicates whether to force the top border, when horizontal gridlines are not drawn

Properties:

NameTypeAttributeDescription
rendererDrawTopBorder *

public rendererHorizontalGridLineColor: * source

[Style(name="rendererHorizontalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the horizontal grid lines.

Properties:

NameTypeAttributeDescription
rendererHorizontalGridLineColor *

public rendererHorizontalGridLineThickness: * source

[Style(name="rendererHorizontalGridLineThickness", type="Number", format="Length")] Thickness of the renderer horizontal grid lines.

Properties:

NameTypeAttributeDescription
rendererHorizontalGridLineThickness *

public rendererHorizontalGridLines: * source

[Style(name="rendererHorizontalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show horizontal grid lines between the rows. If true, shows horizontal grid lines. If false, hides horizontal grid lines.

Properties:

NameTypeAttributeDescription
rendererHorizontalGridLines *

public rendererPaddingBottom: * source

[Style(name="rendererPaddingBottom", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
rendererPaddingBottom *

public rendererPaddingLeft: * source

[Style(name="rendererPaddingLeft", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
rendererPaddingLeft *

public rendererPaddingRight: * source

[Style(name="rendererPaddingRight", type="Number", format="Length", inherit="no")] Number of pixels between the controls right border and the right edge of its content area.

Properties:

NameTypeAttributeDescription
rendererPaddingRight *

public rendererPaddingTop: * source

[Style(name="rendererPaddingTop", type="Number", format="Length", inherit="no")] Number of pixels between the controls left border and the left edge of its content area.

Properties:

NameTypeAttributeDescription
rendererPaddingTop *

public rendererRollOverColors: * source

  • [Style(name="rendererRollOverColors", type="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over a level renderer. The default value is [0xFFFFFF,0xFFFFFF]

Properties:

NameTypeAttributeDescription
rendererRollOverColors *

public rendererVerticalGridLineColor: * source

[Style(name="rendererVerticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
rendererVerticalGridLineColor *

public rendererVerticalGridLineThickness: * source

[Style(name="rendererVerticalGridLineThickness", type="Number", format="Length")] Thickness of the renderer vertical grid lines.

Properties:

NameTypeAttributeDescription
rendererVerticalGridLineThickness *

public rendererVerticalGridLines: * source

[Style(name="rendererVerticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
rendererVerticalGridLines *

public resizable: boolean source

Flag that indicates whether the user is allowed to resize the width of the column. Please note, left and right locked columns are not resizable

Properties:

NameTypeAttributeDescription
resizable *

See:

public responseVisibleDirty: boolean source

A flag used to the identify that the responsive behaviour touched this columns visiblity, So later we can restore the column visiblity on grid resize.

Properties:

NameTypeAttributeDescription
responseVisibleDirty *

public responsivePriority: number source

in which priority level column should be hidden. if -1 then column never hide from the responsive behaviour. if 1 then column hide if required, when grid width < ResponsiveBehavior.columnPriority1WidthTreshold if 2 then column hide if required, when grid width < ResponsiveBehavior.columnPriority2idthTreshold if 3 then column hide if required, when grid width < ResponsiveBehavior.columnPriority3WidthTreshold if 4 then column hide if required, when grid width < ResponsiveBehavior.columnPriority4WidthTreshold if 5 then column hide if required, when grid width < ResponsiveBehavior.columnPriority5WidthTreshold

Properties:

NameTypeAttributeDescription
responsivePriority *

public rollOverColor: * source

[Style(name="rollOverColor", type="uint", format="Color", inherit="yes")] The color of the row background when the user rolls over the row.

The default value for the Halo theme is 0xB2E1FF. The default value for the Spark theme is 0xCEDBEF.

Properties:

NameTypeAttributeDescription
rollOverColor *

public rowBackgroundColorFunction: Function source

Properties:

NameTypeAttributeDescription
rowBackgroundColorFunction *

See:

public selectable: boolean source

Flag that indicates whether the items in the column are selectable.

Properties:

NameTypeAttributeDescription
selectable *

See:

public selectionColor: * source

[Style(name="selectionColor", type="uint", format="Color", inherit="yes")] The color of the background for the row when the user selects an item renderer in the row.

Properties:

NameTypeAttributeDescription
selectionColor *

The default value for the Halo theme is 0x7FCEFF. The default value for the Spark theme is 0xA8C6EE.

public selectionDisabledColor: * source

[Style(name="selectionDisabledColor", type="uint", format="Color", inherit="yes")] The color of the background of a renderer when the component is disabled.

Properties:

NameTypeAttributeDescription
selectionDisabledColor *

public showClearIconWhenHasText: boolean source

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.

Properties:

NameTypeAttributeDescription
showClearIconWhenHasText *

public showIconOnCellHover: boolean source

If set to true, icon only shows when user hovers over the cell.

Properties:

NameTypeAttributeDescription
showIconOnCellHover *

See:

public showIconOnRowHover: boolean source

If set to true, icon only shows when user hovers over the row.

Properties:

NameTypeAttributeDescription
showIconOnRowHover *

See:

public sortArrowSkin: * source

[Style(name="sortArrowSkin", type="Class", inherit="no")] The class to use as the skin for the arrow that indicates the column sort direction. The default value for the Halo theme is mx.skins.halo.DataGridSortArrow. The default value for the Spark theme is mx.skins.spark.DataGridSortArrow.

Properties:

NameTypeAttributeDescription
sortArrowSkin *

public sortCaseInsensitive: boolean source

To sort this column insensitive of case. Only set this to true for string data, if you set this to true for numeric or date data, the sort results will be incorrect.

Properties:

NameTypeAttributeDescription
sortCaseInsensitive *

See:

public sortCompareFunction: Function source

A callback function that gets called when sorting the data in the column.

Properties:

NameTypeAttributeDescription
sortCompareFunction *

See:

public sortNumeric: boolean source

To sort this column numerically.

Properties:

NameTypeAttributeDescription
sortNumeric *

See:

public sortable: boolean source

Flag that indicates whether the user can click on the header of this column to sort the data provider.

Properties:

NameTypeAttributeDescription
sortable *

See:

public textAlign: String source

[Style(name="textAlign", type="String", enumeration="left,center,right", inherit="yes")] Alignment of text within a container. Possible values are "left", "right", or "center".

The default value for most components is "left". For the FormItem component, the default value is "right". For the Button, LinkButton, and AccordionHeader components, the default value is "center", and this property is only recognized when the labelPlacement property is set to "left" or "right". If labelPlacement is set to "top" or "bottom", the text and any icon are centered.

Properties:

NameTypeAttributeDescription
textAlign *

See:

public textDisabledColor: * source

[Style(name="textDisabledColor", type="uint", format="Color", inherit="yes")] The color of the text of a renderer when the component is disabled.

Properties:

NameTypeAttributeDescription
textDisabledColor *

public textRollOverColor: * source

[Style(name="textRollOverColor", type="uint", format="Color", inherit="yes")] Color of the text when the user rolls over a row.

Properties:

NameTypeAttributeDescription
textRollOverColor *

public textSelectedColor: * source

[Style(name="textSelectedColor", type="uint", format="Color", inherit="yes")] Color of the text when the user selects a row.

Properties:

NameTypeAttributeDescription
textSelectedColor *

public truncateToFit: boolean source

If this propery is true, the text that does not fit in the available size is truncated with "...".

Properties:

NameTypeAttributeDescription
truncateToFit *

See:

public useCurrentDataProviderForFilterComboBoxValues: boolean source

Not supported

Properties:

NameTypeAttributeDescription
useCurrentDataProviderForFilterComboBoxValues *

public useFilterDataProviderForItemEditor: boolean source

For list based item editors, setting this flag will use the dataprovider from the filter mechanism for the item editor.

Properties:

NameTypeAttributeDescription
useFilterDataProviderForItemEditor *

See:

public useHandCursor: boolean source

Uses a special itemrenderer, which causes the mouse to turn into a hand cursor on hover.

Properties:

NameTypeAttributeDescription
useHandCursor *

See:

public useIconRollOverTimer: boolean source

Prior to dispatching the icon roll over, we use a timer so accidental roll over does not cause popups. But sometimes you need this behavior, for example for custom cursors over icons. set this to false in that case

Properties:

NameTypeAttributeDescription
useIconRollOverTimer *

public useLabelFunctionForFilterCompare: boolean source

Flag, that defaults to true, indicates that in client filter mode, use the label function to perform the search (opposed) comparison to using the raw value of the "searchField" property of the column.

Properties:

NameTypeAttributeDescription
useLabelFunctionForFilterCompare *

public useLabelFunctionForSortCompare: boolean source

When you set to true, a custom sortCompareFunction is applied that uses the labelFunction instead of the dataField.

Properties:

NameTypeAttributeDescription
useLabelFunctionForSortCompare *

See:

public useUnderLine: boolean source

When true, if the renderer supports the text decoration style property, sets it to underline.

Properties:

NameTypeAttributeDescription
useUnderLine *

See:

public verticalGridLineColor: * source

[Style(name="verticalGridLineColor", type="uint", format="Color", inherit="yes")] The color of the vertical grid lines.

Properties:

NameTypeAttributeDescription
verticalGridLineColor *

public verticalGridLineThickness: * source

[Style(name="verticalGridLineThickness", type="Number", format="Length", inherit="yes")] Thickness of the vertical grid lines.

Properties:

NameTypeAttributeDescription
verticalGridLineThickness *

public verticalGridLines: * source

[Style(name="verticalGridLines", type="Boolean", inherit="no")] Flag that indicates whether to show vertical grid lines between the columns. If true, shows vertical grid lines. If false, hides vertical grid lines.

Properties:

NameTypeAttributeDescription
verticalGridLines *

public wordWrap: boolean source

Flag to indicate that the text in this column can flow into multiple lines, based upon the width of the column. This flag is usually set in combination with the variableRowHeight flag on the grid. Below are the docs for the variableRowHeight tag:

Properties:

NameTypeAttributeDescription
wordWrap *

See:

Public Methods

public calculateFooterValue(dataProvider: *, cell: flexiciousNmsp.FlexDataGridDataCell): String source

a. The default text of the footer is calculated on basis of the following logic:
i. First we check to see if a footerLabelFunction2 is specified on the column. If so, we use it.
ii. Second, we check to see if there is a footerLabelFunction specified on the column. If so, we use it.
iii. Finally, if neither of these is specified, we use a default footer label function, which performs the following logic:

  1. Checks to see the value of the columns footerOperation. The valid values for this property are sum, min, max, count and average. On basis of this , it computes the value.
  2. It calls toFixed method passing in the footerOperationPrecision value to give it the appropriate number of decimal places
  3. If there is a footerFormater specified, it calls the format method of the footerFormatter passing in the value and displays the result.
  4. If there is a footerLabel specified, it will concatenate the value of the footer label to the result of the calculated value in step 3.

Params:

NameTypeAttributeDescription
dataProvider *
cell flexiciousNmsp.FlexDataGridDataCell

Return:

String

public defaultIconFunction(cell: flexiciousNmsp.FlexDataGridDataCell, state: string): * source

Default Icon tooltip function. Returns value of the iconToolTip string.

Params:

NameTypeAttributeDescription
cell flexiciousNmsp.FlexDataGridDataCell
state string

Return:

*

public defaultIconTooltipFunction(cell: flexiciousNmsp.FlexDataGridDataCell): string source

Default Icon tooltip function. Returns value of the iconToolTip string.

Params:

NameTypeAttributeDescription
cell flexiciousNmsp.FlexDataGridDataCell

Return:

string

public defaultLabelFunction(col: flexiciousNmsp.FlexDataGridDataCell, dataProvider: *): String source

  1. Checks to see the value of the columns footerOperation. The valid values for this property are sum, min, max, count and average. On basis of this , it computes the value.
  2. It calls toFixed method passing in the footerOperationPrecision value to give it the appropriate number of decimal places
  3. If there is a footerFormater specified, it calls the format method of the footerFormatter passing in the value and displays the result.
  4. If there is a footerLabel specified, it will concatenate the value of the footer label to the result of the calculated value in step 3.

Params:

NameTypeAttributeDescription
col flexiciousNmsp.FlexDataGridDataCell
dataProvider *

Return:

String

public deriveRenderer(chromeType: *): * source

Depending on the specified chrome type, gets the appropriate renderer. If truncateToFit or selectable is true, returns a label factory else returns a text field factory.

Params:

NameTypeAttributeDescription
chromeType *

Return:

*

public dispatchEvent(event: *): * source

Whenever a tree datagrid event is dispatched at any column, we also dispatch it from the level so if someone wants to listen for an event at all columns...

Override:

EventDispatcher#dispatchEvent

Params:

NameTypeAttributeDescription
event *

Return:

*

public doFormat(retVal: *): * source

The doFormat method returns formatted value on basis of the format properties (See description below)
If the input is null, returns null. If there is a formatter specified, uses the formatter's format method to return a formatted value. If the format property is specified and no formatter is specified, the column will instantiate a formatter on basis of the value of the format property. The property can be one of 5 constants.

  • date (FORMAT_DATE) - Uses the DateUtils.MEDIUM_DATE_MASK format MMM D, YYYY - Can be customized using formatterDateString Property
  • datetime (FORMAT_DATE_TIME) - Uses the DateUtils.LONG_DATE_MASK+ " " + DateUtils.MEDIUM_TIME_MASK format MMM D, YYYY L:NN:SS A - Can be customized using formatterDateString Property
  • time (FORMAT_TIME) - Uses the DateUtils.LONG_TIME_MASK format. L:NN:SS A TZD - Can be customized using formatterDateString Property
  • currency (FORMAT_CURRENCY) - Uses formatterCurrencySymbol and formatterPrecision properties for the currency formatter.
  • number (FORMAT_NUMBER) - Uses formatterPrecision properties for the number formatter.
  • Based on the formatter created above, the value will be returned.

    Params:

    NameTypeAttributeDescription
    retVal *

    String to format

    Return:

    *

    Formatted string.

    public getAdjacentColumn(num: number): flexiciousNmsp.FlexDataGridColumn source

    Params:

    NameTypeAttributeDescription
    num number

    Return:

    flexiciousNmsp.FlexDataGridColumn

    public getClassNames(): string[] source

    Override:

    EventDispatcher#getClassNames

    Return:

    string[]

    public getClickBehavior(): * source

    Unused, for legacy purposes only

    Return:

    *

    public getColIndex(): number source

    Return:

    number

    public getColumnLockMode(): * source

    In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns.
    The grid supports the following selection modes:
    1) LOCK_MODE_LEFT
    2) LOCK_MODE_RIGHT
    3) LOCK_MODE_NONE
    If set to left, the column will be locked to the left and not scroll horizontally.
    If set to right, the column will be locked to the right, and not scroll horizontally.
    Please note, column lock modes only make sense if the horizontalScrollPolicy of the grid is set to "on" or "auto", since if there is no horizontal scrollbar, locked columns behave like unlocked columns, because there is no horizontal scroll. This horizontal scroll policy of the grid defaults to "off", and changing this to "on" or "auto" affects the calculations that we perform in deciding the optimal column widths, in that columns are no longer "squished" or "expanded" to fit the visible width of the grid. The left and right locked section for grids with flat data are wide enough to accommodate the left and right locked columns respectively. For nested grids, both left and right locked sections are wide enough to accommodate the widest left and right locked columns at each level, and for the leftLocked section, we add the width of the disclosure cells which is set via the nestIndent property for each level (it gets multiplied by the nestDepth for a tree look).
    There are a few restrictions with left and right locked columns. They cannot be re-ordered.
    Resizing them results in resizing the section that they are in.
    Finally, resizing them is very slightly slower than resizing the unlocked columns, because we have to redraw the grid on basis of updated section widths.

    Return:

    *

    public getColumnLockMode(): * source

    In addition to the left locked and unlocked columns supported by the regular Flex DataGrid, Flexicious Ultimate supports right locked columns.
    The grid supports the following selection modes:
    1) LOCK_MODE_LEFT
    2) LOCK_MODE_RIGHT
    3) LOCK_MODE_NONE
    If set to left, the column will be locked to the left and not scroll horizontally.
    If set to right, the column will be locked to the right, and not scroll horizontally.
    Please note, column lock modes only make sense if the horizontalScrollPolicy of the grid is set to "on" or "auto", since if there is no horizontal scrollbar, locked columns behave like unlocked columns, because there is no horizontal scroll. This horizontal scroll policy of the grid defaults to "off", and changing this to "on" or "auto" affects the calculations that we perform in deciding the optimal column widths, in that columns are no longer "squished" or "expanded" to fit the visible width of the grid. The left and right locked section for grids with flat data are wide enough to accommodate the left and right locked columns respectively. For nested grids, both left and right locked sections are wide enough to accommodate the widest left and right locked columns at each level, and for the leftLocked section, we add the width of the disclosure cells which is set via the nestIndent property for each level (it gets multiplied by the nestDepth for a tree look).
    There are a few restrictions with left and right locked columns. They cannot be re-ordered.
    Resizing them results in resizing the section that they are in.
    Finally, resizing them is very slightly slower than resizing the unlocked columns, because we have to redraw the grid on basis of updated section widths.

    Return:

    *

    public getColumnWidthMode(): * source

    The columnWidthMode property on the column specifies how the column widths are applied. This property defaults to "none".

    Flexicious Ultimate provides a rich mechanism to control column widths. Column widths are a complicated topic because there are a number of scenarios and rules that we need to account for

    • When there is a horizontal scroll (horizontalScrollPolicy=on or auto): In this case, the columns are free to (much) take width as they need. Below is how the column widths should handle in this case:
      • When columnWidthMode=none or fixed: The column will basically take the width specified by the width property
      • When columnWidthMode=fitToContent The column will take the width calculated by its contents. The grid identifies the longest string to be displayed in this column, and sets the width of the column to this value.
      • When columnWidthMode=percent. This is not a valid setting when horizontalScrollPolicy is on or auto. The setting will be ignored and the column will take the width specified by the width property. When horizontalScrollPolicy is set to auto or on, columnWidthMode=percent holds no meaning, since there are no fixed bounds to squish the columns within.
    • When there is no horizontal scroll (horizontalScrollPolicy=off - this is the default):
      • When columnWidthMode=none: The column will take the width specified by the width property, and adjust for width (see sum of Column Widths exceeds Grid Width below).
      • When columnWidthMode=fixed: The column will take the width specified by the width property, and not adjust for width.
      • When columnWidthMode=fitToContent: The column will take the width calculated by its contents, and adjust for width (see sum of Column Widths exceeds Grid Width below).
      • When columnWidthMode=percent: For these columns, the grid divides the remaining width after allocating all fixed and fitToContent columns, on a percentage basis among all columns that have columnWidthMode set to percent. PLEASE NOTE : If you set columnWidthMode='percent', also set percentWidth. Also, ensure that the percentWidth of the columns adds up to a 100.

    Finally, there are the below calculations once the column widths are allocated:

    • Grid Width exceeds Sum of Column Widths: The situation where the calcualted column widths do not add upto the grid with is also handled on basis of the horizontalScrollPolicy.
      • When there is a horizontal scroll (horizontalScrollPolicy=on or auto): The last column extends to fill up all the remaining space. If you do not want your last column to resize, add a dummy column that has the following property (order is important) minWidth="1" width="1" paddingLeft="0" paddingRight="0"
      • When there is no horizontal scroll (horizontalScrollPolicy=off - this is the default): The extra width is divided proportionally between all the columns where columnWidthMode does not equal fixed.

    • Sum of Column Widths exceeds Grid Width: Similarly, The situation where the allocated column widths exceed the width of the grid with is also handled on basis of the horizontalScrollPolicy.
      • When there is a horizontal scroll (horizontalScrollPolicy=on or auto): We simply show a scroll bar, and no column widths are changed.
      • When there is no horizontal scroll (horizontalScrollPolicy=off - this is the default): This excess width is reduced proportionally between columns where columnWidthMode does not equal fixed.
      • Left and right locked columns do not support column width mode, it is ignored for these.
        Finally, with multi level grids, if the hierarchy's columns width in the top level is smaller than the next level's width (and the horizontal scroll policy of the grid is "on"/"auto"), the horizontal scroller will be calculated only by the top level's width, making some columns in the next level unreachable. The recommendation is to give a large column width to the last top level column, which is large enough so that sum of column widths at top level is larger than the sum of column widths at the bottom level.
        Values : none,fixed,percent,fitToContent

        Return:

        *

        public getDataCellRenderer(): * source

        Container for the item renderer. Needs to implement IFlexDataGridDataCell. Defaults to FlexDataGridDataCell

        Return:

        *

        public getDataField(): string source

        The name of the field or property in the data provider item associated with the column. Each DataGridColumn control requires this property and/or the labelFunction property to be set in order to calculate the displayable text for the item renderer. If the dataField and labelFunction properties are set, the data is displayed using the labelFunction and sorted using the dataField. If the property named in the dataField does not exist, the sortCompareFunction must be set for the sort to work correctly.

        This value of this property is not necessarily the String that is displayed in the column header. This property is used only to access the data in the data provider. For more information, see the headerText property.

        If you specify a complex property ,the grid takes over the sortCompareFunction, and the sortField property is ignored.

        Return:

        string

        public getDistinctValues(dp: object, collection: Array, addedCodes: Array, lvl: flexiciousNmsp.FlexDataGridColumnLevel): Array source

        Returns this list of distinct values for this column, in a list of arraycollection which will have properties data and label.

        Params:

        NameTypeAttributeDescription
        dp object
        collection Array
        addedCodes Array
        lvl flexiciousNmsp.FlexDataGridColumnLevel

        Return:

        Array

        public getEditable(): boolean source

        Flag that indicates whether the items in the column are editable.

        Return:

        boolean

        public getFilterControl(): * source

        A control that implements IFilterControl

        Return:

        *

        public getFilterRenderer(): * source

        The actual control to render inside the header column. This control must implement the com.flexicious.controls.interfaces.filters.IFilterControl interface.

        Return:

        *

        public getHeaderText(cell: flexiciousNmsp.FlexDataGridDataCell): string source

        Text for the header of this column. By default, the DataGrid control uses the value of the dataField property as the header text. IF a headerTextFunction is specified, that is used first.

        Params:

        NameTypeAttributeDescription
        cell flexiciousNmsp.FlexDataGridDataCell

        Return:

        string

        public getIconField(): string source

        The property on the model object that returns the url to the icon, if you wish to show different icons for each cell.

        Defaults to data field. If there are scenarios where you wish to show both the icon as well as the text, you can specify the iconField and the dataField. Otherwise, where you show just the icon, you can leave the iconField blank and have the data field specify the value of the icon url.

        Return:

        string

        public getIndex(): number source

        Return:

        number

        public getIsElastic(): boolean source

        Returns true if the column is not right locked or IFixedWidth.

        Return:

        boolean

        public getIsFirstRightLocked(): boolean source

        Return:

        boolean

        public getIsFirstUnLocked(): boolean source

        Return:

        boolean

        public getIsLastLeftLocked(): boolean source

        Return:

        boolean

        public getIsLastUnLocked(): boolean source

        Return:

        boolean

        public getIsLastleftLocked(): boolean source

        Return:

        boolean

        public getIsLastrightLocked(): boolean source

        Return:

        boolean

        public getIsLeftLocked(): boolean source

        Returns true if the column is left locked.

        Return:

        boolean

        public getIsLocked(): boolean source

        Returns true if the column is left or right locked.

        Return:

        boolean

        public getIsRightLocked(): boolean source

        Returns true if the column is right locked.

        Return:

        boolean

        public getIsSortable(): boolean source

        MX and Spark Grids implement the sortable differently, so to match the interface.

        Return:

        boolean

        public getLabel(): string source

        For support in pickers

        Return:

        string

        public getLabelFunction(value: *): Function source

        A function that determines the text to display in this column. By default the column displays the text for the field in the data that matches the column name. However, sometimes you want to display text based on more than one field in the data, or display something that does not have the format that you want. In such a case you specify a callback function using labelFunction.

        For the DataGrid control, the method signature has the following form:

        labelFunction(item:Object, column:DataGridColumn):String

        Where item contains the DataGrid item object, and column specifies the DataGrid column.

        A callback function might concatenate the firstName and lastName fields in the data, or do some custom formatting on a Date, or convert a number for the month into the string for the month.

        Params:

        NameTypeAttributeDescription
        value *

        Return:

        Function

        public getLabelFunction2(value: *): Function source

        A specialized function that determines the text to display in this column, and takes the actual cell being (a) evaluated parameter.

        As opposed to the regular label function, this actually takes a FlexDataGridCell (a) object parameter, which contains the level information if you need to perform additonal logic. Please note, the cell parameter will be null in certain cases, like from the quickFind() method, where the cell is not currently drawn.

        Example: labelFunction="myLabelFunc"

        private String myLabelFunc(Object item, FlexDataGridColumn col, FlexDataGridCell cell ){ }

        Params:

        NameTypeAttributeDescription
        value *

        Return:

        Function

        public getLevel(value: *): flexiciousNmsp.FlexDataGridColumnLevel source

        Params:

        NameTypeAttributeDescription
        value *

        Return:

        flexiciousNmsp.FlexDataGridColumnLevel

        level

        public getNestDepth(): * source

        Gets the nest depth of the associated level.

        Return:

        *

        public getOwner(): flexiciousNmsp.FlexDataGrid source

        Return:

        flexiciousNmsp.FlexDataGrid

        public getPersistenceKey(): string source

        this method was deprecated. - now defaults to the uniqueIdentifier.

        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.

        Return:

        string

        public getSearchField(): string source

        The field that the filter should search on. Defaults to the dataField property from mx.controls.dataGridClasses.DataGridColumn. But can be overridden if needed.

        For example, consider a grid bound to a list of Employee objects, with a departmentName and departmentId property. This column shows the departmentName, with a combobox filter or a multi-select filter using a list of departments as filterComboBoxDataProvider

        By default, the comparison will occur using the selected label of the filter control being compared to the departmentName property of each employee. This is allright if the filterPageSortMode property of the com.flexicious.grids.ExtendedDataGrid is set to "client", but if it is "server" , you would ideally want to have the ID of the selected department(s). In that case, you would set the searchField property to "departmentId", filterComboBoxDataField to "departmentId", filterComboBoxLabelField to "departmentName".

        Return:

        string

        public getSortField(): string source

        Similar to searchField, if you want to override what the database actually sorts when you sort this column

        Return:

        string

        public getSortFieldName(): string source

        Similar to searchField, if you want to override what the database actually sorts when you sort this column

        Return:

        string

        public getStyleValue(styleProp: string): object source

        Gets the style value for the provided style property at the current level. If not defined at current level, gets the one defined at the grid level.

        Params:

        NameTypeAttributeDescription
        styleProp string

        Return:

        object

        public getUniqueIdentifier(): * source

        A key used to uniquely identify a column. Defaults to the header text Used in print and preference persistence to identify columns.

        Return:

        *

        public getVisible(): boolean source

        Flag that indicates whether the column is visible. If true, the column is visible.

        Return:

        boolean

        public getWidth(): number source

        The width of the column, in pixels.

        Return:

        number

        public getX(): number source

        Current X position of this column relative to the container for its cells.

        Return:

        number

        public hasCustomItemRenderer(): boolean source

        Return:

        boolean

        public isValidStyleValue(val: *): boolean source

        A function that is used when we have complex properties in the datafield.

        Params:

        NameTypeAttributeDescription
        val *

        Return:

        boolean

        public itemToLabel(data: object, cell: flexiciousNmsp.FlexDataGridCell): * source

        Returns the String that the item renderer displays for the given data object. 0) If there is a linktext property specified on the column, this function returns that. 1) If the DataGridColumn or its DataGrid control has a non-null labelFunction property, it applies the function to the data object. 2) If the DataGridColumn or its DataGrid control has a non-null labelFunction2 property, it applies the function to the data object. 3) Otherwise, the method extracts the contents of the field specified by the dataField property, or gets the string value of the data object. 4) If the method cannot convert the parameter to a String, it returns a single space.

        Params:

        NameTypeAttributeDescription
        data object
        cell flexiciousNmsp.FlexDataGridCell

        Return:

        *

        Displayable String based on the data.

        public itemToLabelCommon(item: object): String source

        Params:

        NameTypeAttributeDescription
        item object

        Return:

        String

        public kill() source

        Removes all event listeners

        Override:

        EventDispatcher#kill

        public labelFunctionSortCompare(obj1: object, obj2: object): boolean source

        Params:

        NameTypeAttributeDescription
        obj1 object
        obj2 object

        Return:

        boolean

        public setColumnLockMode(val: *) source

        Params:

        NameTypeAttributeDescription
        val *

        public setColumnLockMode(val: *) source

        Params:

        NameTypeAttributeDescription
        val *

        public setColumnWidthMode(val: *): * source

        Params:

        NameTypeAttributeDescription
        val *

        Return:

        *

        public setDataCellRenderer(value: *) source

        Params:

        NameTypeAttributeDescription
        value *

        public setDataField(value: *) source

        Params:

        NameTypeAttributeDescription
        value *

        public setEditable(value: boolean) source

        Params:

        NameTypeAttributeDescription
        value boolean

        public setFilterControl(val: *) source

        The filter control to associate with this column. There are a number of built in filter controls, and you can even write your own by implementing the IFilterControl interface. To be implemented by any control that can participate in the filtering mechanism.

        There are the following controls available out of the box:

        • TextInput
        • TriStateCheckBox
        • ComboBox
        • MultiSelectComboBox
        • DateComboBox
        • DateRangeBox
        • NumericRangeBox
        • NumericTextInput
        • You can write your own custom text input controls by extending any of these, or by implementing the IFilterControl, ICustomMatchFilterControl, or IDynamicFilterControl. For an example of this, please look at http://blog.flexicious.com/post/ICustomMatchFilterControl-example.aspx

          Params:

          NameTypeAttributeDescription
          val *

          public setFilterRenderer(value: *) source

          Params:

          NameTypeAttributeDescription
          value *

          public setFooterFormatter(val: *): * source

          Formatter for the footer label

          Params:

          NameTypeAttributeDescription
          val *

          Return:

          *

          public setHeaderText(value: string) source

          Params:

          NameTypeAttributeDescription
          value string

          public setIconField(value: string) source

          Params:

          NameTypeAttributeDescription
          value string

          public setLabelFunction(value: Function) source

          Params:

          NameTypeAttributeDescription
          value Function

          public setLabelFunction2(value: Function) source

          Params:

          NameTypeAttributeDescription
          value Function

          public setPersistenceKey(val: *) source

          Params:

          NameTypeAttributeDescription
          val *

          public setSearchField(val: *) source

          Params:

          NameTypeAttributeDescription
          val *

          public setSortField(val: *) source

          Params:

          NameTypeAttributeDescription
          val *

          public setStyle(styleProp: string, value: *) source

          Sets the value of the prop property on this object

          Override:

          EventDispatcher#setStyle

          Params:

          NameTypeAttributeDescription
          styleProp string
          value *

          public setUniqueIdentifier(value: string) source

          Params:

          NameTypeAttributeDescription
          value string

          public setVisible(value: boolean) source

          Params:

          NameTypeAttributeDescription
          value boolean

          public setWidth(value: number) source

          Params:

          NameTypeAttributeDescription
          value number

          public setX(value: number) source

          Params:

          NameTypeAttributeDescription
          value number