MAF.element.GridCell

new MAF.element.GridCell()

Methods

animate(config) inherited

Parameters:

NameTypeDescription
configObject

A config object

Fires:

focus() inherited

This will try and focus this component. If it cannot recieve focus, this focus will stay on the currently focused component.

freeze() → {Class} inherited

Freezes this component. Screen renders no longer trigger until thawed.

Returns:

This component.

getAbsolutePosition() → {Object} inherited

Give back the position relative to its first positioned ancestor element

Returns:

{hOffset:Number, vOffset: Number}

getCellCoordinates() → {Object}

Returns:

With row, column, rows and columns

getCellDataIndex() → {Number}

Returns:

Dataset Index.

getCellDataItem() → {Mixed}

Returns:

Returns a dataset item.

getCellDimensions() → {Object}

Returns:

With the width and height of the cells for the grid.

getCellIndex() → {Number}

Returns:

Index of the cell if found. Otherwise it returns -1.

getView() → {Class} inherited

Returns:

Returns the view this class is appended on.

hide() → {Class} inherited

Hides this component.

Returns:

This component.

initialize() inherited

Initialize the class

show() → {Class} inherited

Shows this component.

Returns:

This component.

thaw() → {Class} inherited

Thawes this component. Screen renders can trigger again.

Returns:

This component.

Events

onAnimationEnded

Fired when a animation on this component has ended.

onAppend

Fired when component has appended to a parent. Update visual appearances by applying a Theme style and rendering the skin.

onBlur

Fired when the component is blurred.

onFocus

Fired when the component recieves focus.

onNavigate

Fired when a navigation happens when the component has focus.

onSelect

Fired when the component is selected.