DataGrid.setCurrentCellValue

Overview | Methods | Fields | This Package | All Packages

DataGrid.setCurrentCellValue

Sets the value of the current cell.

Syntax

public void setCurrentCellValue( String val )

Parameters

val

A string that represents the value for the current cell.

Exceptions

WFCInvalidArgumentException thrown if the DataGrid control is not bound.

WFCException thrown if the allowUpdate property is set to false, the underlying recordset does not allow modifications, or the readOnly property of the cell's column is set to true.

Remarks

The string passed to setCurrentCellValue is automatically converted to a value of the appropriate type. The dataType property of the current column identifies the data type of the underlying field in the recordset.

See Also   getCurrentCellValue