Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

DataGrid.getCurrentRowModified

Retrieves a boolean value indicating whether the data in the current row has been changed.

Syntax

public boolean getCurrentRowModified()

Return Value

Returns true if the data in the current row has been modified but the underlying recordset has not been updated; otherwise, returns false.

Exceptions

WFCInvalidArgumentException thrown if the DataGrid is not bound.

Remarks

The currentRowModified property is automatically set to true if any of the values in the current row have been changed, either programmatically or by the user. When another row becomes the current row, this property is reset to false.

To programmatically change the value in the current cell, call setCurrentCellValue.

Important   In order to change the value of the current cell, the allowUpdate property must be set to true, the readOnly property of this cell's column must be false, and the recordset must allow data to be modified.