Skip to content

pbAllowDeleteRow - cCJGrid

Determines if row deletion is allowed

Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None

Syntax

Property Boolean pbAllowDeleteRow
Access Type Syntax
Read Access: Get pbAllowDeleteRow to BooleanVariable
Write Access: Set pbAllowDeleteRow to BooleanVariable/Value

Description

pbAllowDeleteRow determines if rows can be deleted. By default, this is true and row deletion is allowed.

The SelectedRow is deleted by sending the message Request_Delete. Before deleting the row, the function CanDeleteRow is called. If this returns false, a delete is not attempted. CanDeleteRow returns False if pbAllowDeleteRow is false, if pbReadOnly is true, or if the datasource object itself does not allow deletes.