GetCellValue Function (DataGrid)

Class

DataGrid.

Action

Returns the value of a cell.

Syntax

sValue = Datagrid.GetCellValue (DataGridCell)
Variable Description
sValue The value of a cell. STRING.
DataGridCell The DataGridCell to locate. DATAGRIDCELL.

Notes

When you GetCellValue of a date ("calendar") field, Silk Test Classic returns the date and time, regardless of whether or not the time is visible.

Depending upon the style of the column, Silk Test Classic returns the following STRING values:
  • Button
  • CheckBox (returns 0 or 1)
  • Default
  • Edit
  • EditButton
  • DropDown
  • DropDownList
  • DropDownCalendar
  • TriStateCheckBox (returns 0, 1, or 2)