Skip to content

pbAllowAppendRow - cCJGrid

Determines if rows can be appended to the end of the grid

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

Syntax

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

Description

pbAllowAppendRow determines if rows can be appended to the end of the grid. By default, this is true and row appending is allowed.

A row is appended by sending the message Request_AppendRow. If pbAllowAppendRow is false, a row append will not be attempted although a row append may be attempted (see Request_InsertRow for a full description).

The message Request_InsertRow can also be used to append a row. If pbAllowInsertRow is false and pbAllowAppendRow is true, a row append will be attempted (see Request_InsertRow for a full description).

If pbAllowAppendRow is true, the function CanAddRow will be called. If this returns false, a row append is not attempted. CanAddRow returns False if pbReadOnly is true or if the datasource object itself does not allow the adding of rows.