Click or drag to resize

Cell Class

Is returned, e.g., by method "cells" of "GridContainer"

Namespace:  Aras.Client.Controls.Public
Syntax
JavaScript
Aras.Client.Controls.Public.Cell = function();

Type.createClass(
	'Aras.Client.Controls.Public.Cell');

The Cell type exposes the following members.

Constructors
  NameDescription
Public methodCell
Top
Methods
  NameDescription
Public methodgetBgColor
Gets the background color of this Cell.
Public methodgetBounds
Public methodgetCellStyle
Get cell css styles for current cell.
Public methodgetColumnIndex
Gets index of column which contains current cell.
Public methodgetFont
Gets current cell font.
Public methodgetHorAlign
Public methodgetRowId
Gets Row ID for current cell.
Public methodgetRowSpan
Public methodgetText
Returns cell's visible text.
Public methodgetTextColor
Gets text color for current cell.
Public methodgetValue
Returns the value of the cell.
Public methodinitXml
Public methodisCheckbox
Returns true if this cell contains a checkbox.
Public methodisChecked
Returns the state of this cell's checkbox.
Public methodisEditable
Gets a value indicating whether the cell can be edited.
Public methodisEdited
Gets a value indicating whether the cell is in an editable state.
Public methodsetBgColor
Sets cell background color.
Public methodsetChecked
Public methodsetCombo
Dynamically fills the combobox for current cell with labels and values (separated by grid delimiter). Used in the OnEditCell event handler on type=0 event.
Public methodsetEditable
Sets a value indicating whether the cell can be edited.
Public methodsetEditType
Sets the type of cell editor, either 1-inputbox or 2-combobox. Used in the onEditCell event handler on type=0 event. So you can use different editors in same column/cell.
Public methodsetFont
Sets font for current cell.
Public methodsetHorAlign
Public methodsetInputHelperIcon
Public methodsetLink
Sets value as link in cell.
Public methodsetListId
Sets list ID
Public methodsetTextColor
This method sets the text color in cell to the specified color.
Public methodsetValue
Sets a value to the cell.
Public methodwasChanged
Returns true if cell's value was changed by user during the last editing of this cell, false otherwise.
Top
See Also