Skip to content

pbColumnsEnabledStatic - cWebList

Determines if the column objects for this list object should treat pbEnabled as static

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

Syntax

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

Description

The pbColumnsEnabled property determines if the column objects for this list object should treat pbEnabled as static. In other words, it determines the value of pbEnabledStatic for all child column objects.

Depending on the web list type, you may not want column data entry object (DEO) objects to be dynamically enabled and disabled. Column objects within a cWebList and cWebPromptList should always be statically enabled (as they are never actually edited), while objects within a cWebGrid should apply standard DataDictionary object (DDO)/DEO enabling. Therefore this property is set False in cWebList (and cWebPromptList) while it is set True in cWebGrid. When web column objects are created, they test the pbColumnsEnabledStatic property of their list container and set pbEnabledStatic accordingly.

A web-column's pbEnabled state setting may change its appearance and this is the main reason why setting this appropriately matters.

If you wish to change this, you can set pbColumnsEnabledStatic property in your list or grid object. This will change the behavior of all columns within the object. If you wish to customize this on a column by column basis, you can set pbEnabledStatic for a specified column object. You could further customize this within a column object's SetDynamicEnabled method.