Skip to content

pbVirtualMode - cCJGrid

Determines if the grid is using the grid's virtual-mode

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

Syntax

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

Description

The cCJGrid and its sub-classes all operate in virtual mode, which means that the data is stored in a datasource and is not stored directly in the grid. When the grid needs to display cells, it sends a message requesting specific data for a row and column. The cCJGridDataSource object is the datasource. For all of this to operate, the Grid must be running in virtual mode. Therefore pbVirtualMode is always True.

It is possible to design a grid that does not run in virtual mode. In such a case, the datasource's data array would be the grid itself. In such a case, pbVirtualMode must be set to False. Doing something like this would be considered quite advanced. You would have to build your own datasource class and you would probably need to sub-class the cCJGrid. Doing this would require extensive knowledge of the cCJGrid class, the cCJGridDataSource class and the Codejock ReportControl's COM interface.