SetCellValue Method (DataGrid)

Class

DataGrid.

Action

Sets the value of a cell.

Syntax

Datagrid.SetCellValue (DataGridCell, sValue)
Variable Description
sValue The value you want to set. STRING.
DataGridCell The DataGridCell whose value you want to set. DATAGRIDCELL.

Note

Silk Test Classic records a ClickCell before a SetCellValue.

Depending on the style of the column, the appropriate STRING value must be sent:

  • Button
  • CheckBox (0 or 1)
  • Default
  • Edit
  • EditButton
  • DropDownValidate
  • DropDownList
  • DropDownCalendar
  • TriStateCheckBox (0 1, or 2)