Overview | Methods | Fields | This Package | All Packages
Sets a boolean value indicating whether the user can delete rows from the grid (provided the underlying recordset allows records to be deleted).
Syntax
public void setAllowDelete( boolean allowDelete )
Parameters
allowDelete
Set to true to allow rows to be deleted from the grid; otherwise, set to false. The default value of the allowDelete property is true.
Remarks
If the underlying recordset allows records to be deleted, setting the allowDelete property to true enables the DELETE key to delete rows from the grid, which, in turn, deletes records the from the recordset. If this property is false, the DataGrid control will ignore any attempt to delete a row in the grid.
Important If the underlying recordset does not allow records to be deleted, the grid will not allow deletions, even if the allowDelete property is true.
See Also getAllowDelete