Main Page | Packages | Class Tree | Index | Help

mx.controls

class DataGrid

Object
  |
  +--MovieClip
        |
        +--mx.core.UIObject
              |
              +--mx.core.UIComponent
                    |
                    +--mx.core.View
                          |
                          +--mx.core.ScrollView
                                |
                                +--mx.controls.listclasses.ScrollSelectList
                                      |
                                      +--mx.controls.List
                                            |
                                            +--mx.controls.DataGrid


class DataGrid
extends List

DataGrid class - extends List



Field Summary


__focusedCell: Object



__headerHeight: Number



__rowRenderer: String



__showHeaders: Boolean



__tabHandlerCache: Function



activeGrid: Object



asc: Boolean



autoHScrollAble: Boolean



cell: Object



cellEditor: MovieClip



className: String



col: Object



column: DataGridColumn
scoping tricks to quiet the compiler


columns: Array
::: Declarations


colX: Number



DISABLEDHEADERDEPTH: Number



dontEdit: Boolean



editable: Boolean



EDITORDEPTH: Number



editorMask: MovieClip



editTween: Tween



hasDrawn: Boolean



header_mc: MovieClip



HEADERCELLDEPTH: Number



headerCells: Array



HEADERDEPTH: Number
::: Constants for depths of assets unless there are 5000 rows visible, this should hold.


HEADEROVERLAYDEPTH: Number



invCheckCols: Boolean



invColChange: Boolean



invDrawCols: Boolean



invInitHeaders: Boolean
::: Invalidation Flags.


invSpaceColsEqually: Boolean



LINEDEPTH: Number



lines_mc: MovieClip
:::Movie clip assets


listOwner: Object



minColWidth: Number



minScrollInterval



oldWidth: Number



oldX: Number



resizableColumns: Boolean



selectable: Boolean



SEPARATORDEPTH: Number



sortableColumns: Boolean



sortArrow: MovieClip



SORTARROWDEPTH: Number



sortDirection: String



sortIndex: Number
::: Storage Vars


stretchBar: MovieClip



stretcher: MovieClip



STRETCHERDEPTH: Number


static
symbolName: String


static
symbolOwner: Object



totColW: Number


static
version: String
Copyright (C) 2003 Macromedia, Inc.

Fields inherited from class mx.controls.List

__labels, __selectedIndex, __vScrollPolicy, autoHScrollAble, boundingBox_mc, calcPreferredHeightFromData, calcPreferredWidthFromData, className, clipParameters, data, displayWidth, invScrollProps, invScrollSize, oldVWidth, scrollDepth, symbolName, symbolOwner, totalHeight, totalWidth, version

Fields inherited from class mx.controls.listclasses.ScrollSelectList

__cellRenderer, __dataProvider, __hPosition, __iconField, __iconFunction, __labelField, __labelFunction, __rowCount, __rowHeight, __rowRenderer, __width, addItem, addItemAt, baseRowZ, calcPreferredWidth, changeFlag, className, clearSelected, CONTENTDEPTH, createLabel, dataProvider, dragEnabled, dragScrolling, dropEnabled, enabled, getDataProvider, getItemAt, getLength, getSelectedIndex, getSelectedIndices, getSelectedItem, getSelectedItems, getValue, invLayoutContent, invRowHeight, invUpdateControl, isPressed, isRowStyle, isSelected, lastPosition, lastSelected, lastSelID, layoutX, layoutY, length, listContent, minScrollInterval, mixIt1, mixIt2, modelChanged, multipleSelection, onMouseUp, propertyTable, removeAll, removeItemAt, replaceItemAt, roundUp, rows, scrollInterval, selectable, selected, selectedIndex, selectedIndices, selectedItem, selectedItems, selectHolder, selectionDeleted, selectItem, setDataProvider, setSelectedIndex, setSelectedIndices, sortItems, sortItemsBy, tempLabel, tH, topRowZ, tW, value, wasKeySelected

Fields inherited from class mx.core.ScrollView

__hPosition, __hScrollPolicy, __maxHPosition, __viewMetrics, __vPosition, __vScrollPolicy, className, columnWidth, heightPadding, hScroller, invLayout, MASK_DEPTH, mask_mc, numberOfCols, oldRndUp, owner, propsInited, rowC, rowH, scrollAreaChanged, specialHScrollCase, symbolName, symbolOwner, version, viewableColumns, viewableRows, vScroller, widthPadding

Fields inherited from class mx.core.View

__tabIndex, border_mc, boundingBox_mc, childNameBase, className, createClassChildAtDepth, depth, loadExternal, symbolName, symbolOwner, version

Fields inherited from class mx.core.UIComponent

clipParameters, drawFocus, enabled, focusEnabled, focusManager, focusTextField, groupName, kStretch, mergedClipParameters, origBorderStyles, origBorderValues, popUp, symbolName, symbolOwner, tabEnabled, tabIndex, version

Fields inherited from class mx.core.UIObject

__height, __width, _color, _topmost, addEventListener, buildDepthTable, changeColorStyleInChildren, changeTextStyleInChildren, childrenCreated, className, clipParameters, color, createAccessibilityImplementation, createChildAtDepth, createEvent, ction, dispatchEvent, embedFonts, findNextAvailableDepth, fontFamily, fontSize, fontStyle, fontWeight, handleEvent, idNames, ignoreClassStyleDeclaration, initProperties, marginLeft, marginRight, methodTable, notifyStyleChangeInChildren, removeEventListener, setStyle, stylecache, styleName, symbolName, symbolOwner, textAlign, textColorList, textDecoration, textIndent, validateNow, version

Fields inherited from class MovieClip

_alpha, _currentframe, _droptarget, _focusrect, _framesloaded, _height, _lockroot, _name, _parent, _quality, _rotation, _soundbuftime, _target, _totalframes, _url, _visible, _width, _x, _xmouse, _xscale, _y, _ymouse, _yscale, enabled, focusEnabled, hitArea, tabChildren, tabEnabled, tabIndex, tooltipText, trackAsMenu, useHandCursor

Fields inherited from class Object

__proto__, constructor, prototype

Property Summary


columnCount: Number (read-only)



columnNames: Array (read, write)



focusedCell: Object (read, write)



headerHeight: Number (read, write)



showHeaders: Boolean (read, write)


Properties inherited from class mx.controls.List

labels

Properties inherited from class mx.controls.listclasses.ScrollSelectList

cellRenderer, iconField, iconFunction, labelField, labelFunction, rowCount, rowHeight

Properties inherited from class mx.core.ScrollView

hPosition, hScrollPolicy, maxHPosition, maxVPosition, vPosition, vScrollPolicy

Properties inherited from class mx.core.View

numChildren, tabIndex

Properties inherited from class mx.core.UIComponent

height, width

Properties inherited from class mx.core.UIObject

bottom, height, left, minHeight, minWidth, right, scaleX, scaleY, top, visible, width, x, y

Constructor


DataGrid ( )


Method Summary


addColumn ( newCol ): DataGridColumn



addColumnAt ( index: Number, newCol ): DataGridColumn



configureScrolling ( Void ): Void
inherited from list - determine how to set up our srollbars


disposeEditor ( Void ): Void
Pretty important method.


draw ( )
inherited from list - the most important method in the component.


drawColumns ( Void ): Void
to be used any time the columns change width.


drawHeaderBG ( Void ): Void
pretty self-explanatory.


editCell ( )
Take the stuff from the cellEditor, and store it in the dataProvider.


editField ( index: Number, colName: String, data ): Void



editorKeyDown ( Void ): Void
Scoped to the cell editor.


enableHeader ( v: Boolean ): Void
place movie clip over the headers to disable them


findNextCell ( index: Number, colIndex: Number ): Void
find the next cell for the grid to TAB to (back or forth).


findNextEnterCell ( Void ): Void
find the next cell down from the currently edited cell, and focus it.


generateCols ( Void ): Void
searches the dataProvider to determine columns


getColumnAt ( index : Number ): DataGridColumn



getColumnIndex ( name: String ): Number



getColumnNames ( Void ): Array



getHeaderHeight ( Void ): Number



getShowHeaders ( ): Boolean



headerPress ( Void ): Void
scoped to overlay : Color the overlay, move the cell


headerRelease ( Void ): Void
scoped to overlay : Do the sort!


headerRollOut ( Void ): Void
scoped to overlay : turn off the overlay color


headerRollOver ( Void ): Void
::: BEGIN METHODS SCOPED TO THE HEADER'S OVERLAY - OWNER IS GRID scoped to overlay : draw the overlay with color


headerUp ( Void ): Void
scoped to overlay : turn off the overlay color, move the cell back


hideStretcher ( Void ): Void
scoped to the header separator - get rid of the cursor and any mouseMove listening


init ( )
::: PRIVATE CONSTRUCTION


initHeaders ( Void ): Void
lays out the header assets.


initRows ( Void ): Void
::: ROW MANAGEMENT creates the rows' cells


invalidateHeaderStyle ( Void ): Void
makes all header cells take on their new style props


invalidateStyle ( propName : String ): Void
catch style changes and route them to the right spot


isStretchable ( col: Number ): Boolean
::: END METHODS SCOPED TO HEADER OVERLAY ::: METHODS FOR STRETCHABLE COLUMNS ::: determine if a column is stretchable


layoutContent ( x: Number, y: Number, tW: Number, tH: Number, dW: Number, dH: Number ): Void
inherited from list - used to layout the rows inside the list Here we extend it to accomodate the headerHeight, and to ensure that if the width has changed, we draw more header background


modelChanged ( eventObj: Object ): Void
inherited from list - catch any events from the model (see dataProvider spec) optimize for editing one cell - also generateCols in cases where there are none.


notifyStyleChangeInChildren ( sheetName: String, styleProp: String, newValue ): Void
catch styles changing from styleSheets and route them


onMouseDown ( Void ): Void
the grid listens for mouseDowns.


onRowPress ( rowIndex: Number ): Void
catch events from the rows being pressed


onSetFocus ( Void ): Void
when the grid gets focus, focus a cell


onTweenEnd ( val )



onTweenUpdate ( val )
Tween methods for the wipe effect on the editor


placeSortArrow ( Void ): Void
does what you'd think...


removeAllColumns ( Void ): Void



removeColumnAt ( index: Number ): DataGridColumn



resizeColumn ( col: Number, w: Number ): Void
If no hScrollBar, handles the compacting of other columns when a column has been set to a specific size.


setColumnNames ( tmpArray: Array ): Void



setEnabled ( v : Boolean ): Void
inherited from list


setFocusedCell ( coord: Object, broadCast ): Void
focus a cell in the grid - harder than it looks


setHeaderHeight ( h: Number ): Void



setHScrollPolicy ( policy: String ): Void
inherited from list - we're able to accomodate "auto" now.


setRowCount ( rC: Number ): Void
inherited from list - used to layout a specific number of rows Here we extend it to accomodate the headerHeight


setRowHeight ( rH: Number ): Void



setShowHeaders ( b: Boolean ): Void



setVPosition ( pos: Number ): Void
::: SCROLL METHODS


showStretcher ( Void ): Void
::: BEGIN METHODS SCOPED TO THE HEADER'S SEPARATOR scoped to header seperator - shows the stretcher mouse cursor


size ( Void ): Void
inherited from list


spaceColumnsEqually ( Void ): Void



startSizing ( Void ): Void
scoped to header seperator - shows the stretchBar that indicates where a column stretch will leave the column's right side


stopSizing ( Void ): Void
scoped to header seperator - releases the stretchBar, determines how much to resize the column.


tabHandler ( Void ): Void
scoped to the FocusManager.

Methods inherited from class mx.controls.List

configureScrolling, createChildren, draw, getRowCount, hScroll, init, layoutContent, modelChanged, onScroll, setEnabled, setHPosition, setHScrollPolicy, setMaxHPosition, setRowCount, setVPosition, size

Methods inherited from class mx.controls.listclasses.ScrollSelectList

__onMouseUp, createChildren, dragScroll, draw, findInputText, findString, getPropertiesAt, getPropertiesOf, getRowCount, getRowHeight, getStateAt, getStyle, init, invalidateStyle, keyDown, layoutContent, moveSelBy, onRowDragOut, onRowDragOver, onRowPress, onRowRelease, onRowRollOut, onRowRollOver, selectRow, setCellRenderer, setEnabled, setIconField, setIconFunction, setLabelField, setLabelFunction, setPropertiesAt, setRowCount, setRowHeight, setVPosition, updateControl

Methods inherited from class mx.core.ScrollView

__onMouseWheel, childLoaded, createChild, createChildren, doLayout, draw, getHPosition, getHScrollPolicy, getMaxHPosition, getViewMetrics, getVPosition, getVScrollPolicy, init, invalidate, onScroll, scrollProxy, setEnabled, setHPosition, setHScrollPolicy, setMaxHPosition, setScrollProperties, setVPosition, setVScrollPolicy, size

Methods inherited from class mx.core.View

addLayoutObject, childLoaded, convertToUIObject, createChild, createChildren, destroyChildAt, doLayout, draw, extension, getChildAt, init, initLayout, size

Methods inherited from class mx.core.UIComponent

dispatchValueChangedEvent, enabledChanged, findFocusFromObject, findFocusInChildren, getFocus, getFocusManager, init, isParent, onKillFocus, onSetFocus, pressFocus, releaseFocus, setEnabled, setFocus, setVisible, size

Methods inherited from class mx.core.UIObject

__getTextFormat, _createChildren, _getTextFormat, cancelAllDoLaters, constructObject, createChildren, createClassObject, createEmptyObject, createLabel, createObject, createSkin, destroyObject, doLater, doLaterDispatcher, draw, drawRect, getClassStyleDeclaration, getMinHeight, getMinWidth, getSkinIDName, getStyle, getStyleName, init, initFromClipParameters, invalidate, invalidateStyle, mergeClipParameters, move, redraw, setColor, setMinHeight, setMinWidth, setSize, setSkin, setVisible, size

Methods inherited from class MovieClip

attachAudio, attachMovie, beginFill, beginGradientFill, clear, createEmptyMovieClip, createTextField, curveTo, duplicateMovieClip, endFill, getBounds, getBytesLoaded, getBytesTotal, getDepth, getInstanceAtDepth, getNextHighestDepth, getSWFVersion, getTextSnapshot, getURL, globalToLocal, gotoAndPlay, gotoAndStop, hitTest, lineStyle, lineTo, loadMovie, loadVariables, localToGlobal, moveTo, nextFrame, onData, onDragOut, onDragOver, onEnterFrame, onKeyDown, onKeyUp, onKillFocus, onLoad, onMouseDown, onMouseMove, onMouseUp, onPress, onRelease, onReleaseOutside, onRollOut, onRollOver, onSetFocus, onUnload, play, prevFrame, removeMovieClip, setMask, startDrag, stop, stopDrag, swapDepths, unloadMovie, valueOf

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

__focusedCell

var __focusedCell: Object

__headerHeight

var __headerHeight: Number

__rowRenderer

var __rowRenderer: String

__showHeaders

var __showHeaders: Boolean

__tabHandlerCache

var __tabHandlerCache: Function

activeGrid

var activeGrid: Object

asc

var asc: Boolean

autoHScrollAble

var autoHScrollAble: Boolean

cell

var cell: Object

cellEditor

var cellEditor: MovieClip

className

var className: String

col

var col: Object

column

var column: DataGridColumn
scoping tricks to quiet the compiler

columns

var columns: Array
::: Declarations

colX

var colX: Number

DISABLEDHEADERDEPTH

var DISABLEDHEADERDEPTH: Number

dontEdit

var dontEdit: Boolean

editable

var editable: Boolean

EDITORDEPTH

var EDITORDEPTH: Number

editorMask

var editorMask: MovieClip

editTween

var editTween: Tween

hasDrawn

var hasDrawn: Boolean

header_mc

var header_mc: MovieClip

HEADERCELLDEPTH

var HEADERCELLDEPTH: Number

headerCells

var headerCells: Array

HEADERDEPTH

var HEADERDEPTH: Number
::: Constants for depths of assets unless there are 5000 rows visible, this should hold.

HEADEROVERLAYDEPTH

var HEADEROVERLAYDEPTH: Number

invCheckCols

var invCheckCols: Boolean

invColChange

var invColChange: Boolean

invDrawCols

var invDrawCols: Boolean

invInitHeaders

var invInitHeaders: Boolean
::: Invalidation Flags.

These control what action will be taken in the "draw" method, after invalidation (see "function draw")

invSpaceColsEqually

var invSpaceColsEqually: Boolean

LINEDEPTH

var LINEDEPTH: Number

lines_mc

var lines_mc: MovieClip
:::Movie clip assets

listOwner

var listOwner: Object

minColWidth

var minColWidth: Number

minScrollInterval

var minScrollInterval

oldWidth

var oldWidth: Number

oldX

var oldX: Number

resizableColumns

var resizableColumns: Boolean

selectable

var selectable: Boolean

SEPARATORDEPTH

var SEPARATORDEPTH: Number

sortableColumns

var sortableColumns: Boolean

sortArrow

var sortArrow: MovieClip

SORTARROWDEPTH

var SORTARROWDEPTH: Number

sortDirection

var sortDirection: String

sortIndex

var sortIndex: Number
::: Storage Vars

stretchBar

var stretchBar: MovieClip

stretcher

var stretcher: MovieClip

STRETCHERDEPTH

var STRETCHERDEPTH: Number

symbolName

static var symbolName: String

symbolOwner

static var symbolOwner: Object

totColW

var totColW: Number

version

static var version: String
Copyright (C) 2003 Macromedia, Inc.

All Rights Reserved. The following is Sample Code and is subject to all restrictions on such code as contained in the End User License Agreement accompanying this product.


Property Documentation

columnCount

columnCount: Number (read-only)

columnNames

columnNames: Array (read, write)

focusedCell

focusedCell: Object (read, write)

headerHeight

headerHeight: Number (read, write)

showHeaders

showHeaders: Boolean (read, write)

Constructor Documentation

DataGrid

function DataGrid()

Method Documentation

addColumn

function addColumn(newCol): DataGridColumn
Parameters:
newCol
The string name of the new column, or a DataGridColumn
Returns:
the new column

addColumnAt

function addColumnAt(index: Number,
 newCol): DataGridColumn
Parameters:
index
The index for the new column
newCol
The string name of the new column, or a DataGridColumn
Returns:
the new column

configureScrolling

function configureScrolling(Void): Void
inherited from list - determine how to set up our srollbars

Overrides:

disposeEditor

function disposeEditor(Void): Void
Pretty important method.

Get rid of all the baggage we're lugging as part of the cellEditor setup. This includes the keyListener, restoring the focusManager to its pristine state, removing the editor, and firing the focus out event

draw

function draw()
inherited from list - the most important method in the component.

draw basically dispatches all scheduled drawing work in the right sequence to get a properly rendered grid. Don't mess with the order!

Overrides:
List.draw in class List

drawColumns

function drawColumns(Void): Void
to be used any time the columns change width.

Positions the cells, draws columns and lines.

drawHeaderBG

function drawHeaderBG(Void): Void
pretty self-explanatory.

Use Drawing API

editCell

function editCell()
Take the stuff from the cellEditor, and store it in the dataProvider.

Dispose Fire the edit event (including the old value of the cell), and dispose the editor

editField

function editField(index: Number,
 colName: String,
 data): Void
Parameters:
index
the index of the item to edit
colName
the name of the field to edit
data
the new data to put in the edited field

editorKeyDown

function editorKeyDown(Void): Void
Scoped to the cell editor.

listOwner is the grid

enableHeader

function enableHeader(v: Boolean): Void
place movie clip over the headers to disable them

findNextCell

function findNextCell(index: Number,
 colIndex: Number): Void
find the next cell for the grid to TAB to (back or forth).

If the cell to be focused falls out of range (the end or beggining of the grid) then move focus outside the grid.

findNextEnterCell

function findNextEnterCell(Void): Void
find the next cell down from the currently edited cell, and focus it.

generateCols

function generateCols(Void): Void
searches the dataProvider to determine columns

getColumnAt

function getColumnAt(index : Number): DataGridColumn
Parameters:
index
index the index of the column to retrieve
Returns:
the column

getColumnIndex

function getColumnIndex(name: String): Number
Parameters:
name
the name of the column whose index is desired
Returns:
the column index

getColumnNames

function getColumnNames(Void): Array

getHeaderHeight

function getHeaderHeight(Void): Number

getShowHeaders

function getShowHeaders(): Boolean

headerPress

function headerPress(Void): Void
scoped to overlay : Color the overlay, move the cell

headerRelease

function headerRelease(Void): Void
scoped to overlay : Do the sort!

headerRollOut

function headerRollOut(Void): Void
scoped to overlay : turn off the overlay color

headerRollOver

function headerRollOver(Void): Void
::: BEGIN METHODS SCOPED TO THE HEADER'S OVERLAY - OWNER IS GRID scoped to overlay : draw the overlay with color

headerUp

function headerUp(Void): Void
scoped to overlay : turn off the overlay color, move the cell back

hideStretcher

function hideStretcher(Void): Void
scoped to the header separator - get rid of the cursor and any mouseMove listening

init

function init()
::: PRIVATE CONSTRUCTION

Overrides:
List.init in class List

initHeaders

function initHeaders(Void): Void
lays out the header assets.

Note the backGround is done later

initRows

function initRows(Void): Void
::: ROW MANAGEMENT creates the rows' cells

invalidateHeaderStyle

function invalidateHeaderStyle(Void): Void
makes all header cells take on their new style props

invalidateStyle

function invalidateStyle(propName : String): Void
catch style changes and route them to the right spot

Overrides:

isStretchable

function isStretchable(col: Number): Boolean
::: END METHODS SCOPED TO HEADER OVERLAY ::: METHODS FOR STRETCHABLE COLUMNS ::: determine if a column is stretchable

layoutContent

function layoutContent(x: Number,
 y: Number,
 tW: Number,
 tH: Number,
 dW: Number,
 dH: Number): Void
inherited from list - used to layout the rows inside the list Here we extend it to accomodate the headerHeight, and to ensure that if the width has changed, we draw more header background

Find a delta, make the adjustment to the number of rows, and their width

Overrides:

modelChanged

function modelChanged(eventObj: Object): Void
inherited from list - catch any events from the model (see dataProvider spec) optimize for editing one cell - also generateCols in cases where there are none.

Overrides:

notifyStyleChangeInChildren

function notifyStyleChangeInChildren(sheetName: String,
 styleProp: String,
 newValue): Void
catch styles changing from styleSheets and route them

Overrides:

onMouseDown

function onMouseDown(Void): Void
the grid listens for mouseDowns.

Overrides:

onRowPress

function onRowPress(rowIndex: Number): Void
catch events from the rows being pressed

Overrides:

onSetFocus

function onSetFocus(Void): Void
when the grid gets focus, focus a cell

Overrides:

onTweenEnd

function onTweenEnd(val)

onTweenUpdate

function onTweenUpdate(val)
Tween methods for the wipe effect on the editor

placeSortArrow

function placeSortArrow(Void): Void
does what you'd think...

removeAllColumns

function removeAllColumns(Void): Void

removeColumnAt

function removeColumnAt(index: Number): DataGridColumn
Parameters:
index
The index of the column to remove
Returns:
the removed column

resizeColumn

function resizeColumn(col: Number,
 w: Number): Void
If no hScrollBar, handles the compacting of other columns when a column has been set to a specific size.

Doesn't move anything, just calculates widths.. In the case of an hScrollBar, set a new maxHPosition

setColumnNames

function setColumnNames(tmpArray: Array): Void

setEnabled

function setEnabled(v : Boolean): Void
inherited from list

Overrides:

setFocusedCell

function setFocusedCell(coord: Object,
 broadCast): Void
focus a cell in the grid - harder than it looks

setHeaderHeight

function setHeaderHeight(h: Number): Void

setHScrollPolicy

function setHScrollPolicy(policy: String): Void
inherited from list - we're able to accomodate "auto" now.

extend it to make sure column widths stay in synch

Overrides:

setRowCount

function setRowCount(rC: Number): Void
inherited from list - used to layout a specific number of rows Here we extend it to accomodate the headerHeight

Overrides:

setRowHeight

function setRowHeight(rH: Number): Void
Overrides:

setShowHeaders

function setShowHeaders(b: Boolean): Void

setVPosition

function setVPosition(pos: Number): Void
::: SCROLL METHODS

Overrides:

showStretcher

function showStretcher(Void): Void
::: BEGIN METHODS SCOPED TO THE HEADER'S SEPARATOR scoped to header seperator - shows the stretcher mouse cursor

size

function size(Void): Void
inherited from list

Overrides:
List.size in class List

spaceColumnsEqually

function spaceColumnsEqually(Void): Void

startSizing

function startSizing(Void): Void
scoped to header seperator - shows the stretchBar that indicates where a column stretch will leave the column's right side

stopSizing

function stopSizing(Void): Void
scoped to header seperator - releases the stretchBar, determines how much to resize the column.

tabHandler

function tabHandler(Void): Void
scoped to the FocusManager.

How fun!! activeGrid is the grid in question tabHandler is focusManager's method for catching the TAB. We replace it with this when the grid gets focus, and restore it to normal afterwards. This method should only be active while there is a focused cellEditor in the grid (or tabbing will break!).


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc