Skip to content

DataIsStatic - cCJGridDataSource

Returns True if your data is static

Type: Function
Return Data Type: Boolean

Syntax

Function DataIsStatic Returns Boolean

Call Example

Get DataIsStatic to BooleanVariable

Description

DataIsStatic can be called to determine if your data is static.

cCJGrid / cCJGridDataSource

This always returns True. There is little need to use this message in this class.

cDbCJGrid / cDbCJGridDataSource

This returns True if the data has been designated as static by the cDbCJGrid. The cDbCJGrid designates the grid as being static by either setting pbStaticData to True or by manually loading the data with InitializeData.

Get phoDataSource to hoDataSource
Get DataIsStatic of hoDataSource to bStatic
If bStatic Begin
    Get AllDataIsLoaded of hoDataSource to bLoaded
    If bLoaded Begin
        Forward Send HeaderReorder iCol
    End
End

Return Value

True if data in the datasource is static.