piLayoutBuild - cCJGrid
Determines the build number of the grid, which is used to determine if a layout can be restored
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piLayoutBuild
| Access Type | Syntax |
|---|---|
| Read Access: | Get piLayoutBuild to IntegerVariable |
| Write Access: | Set piLayoutBuild to IntegerVariable/Value |
Description
piLayoutBuild determines the build number of the grid. It is used to determine if a layout can be restored.
When grid layouts are restored, the object first tries to determine if code changes have been made in the grid. If it has, it will not restore the prior layout. It attempts to recognize when such a change has occurred by checking if the number of columns has changed. While this will catch many changes, it will not recognize when you changed the order of your columns. If this happens, you must tell the grid that the layout has changed. You can do this by incrementing the build number of piLayoutBuild.
This only applies if grid layouts are restored (see pbRestoreLayout).
The default value is 0.