Purpose
Determines a grid object that is used when drawing a specific column.
Class
Type
Method
Syntax
<oBrowser>:GetColumnGrid(
<symStyle>,
<oColumn>
) Æ oGrid
Arguments
<symStyle> | A value that indicates whether the grid is to be determined for the column caption, the column values or for the column footer. The following values are supported: |
Value |
Description |
#Caption |
The grid is determined for the column caption. |
#Data |
The grid is determined for the column values. |
#Footer |
The grid is determined for the column footer. |
Data Type: | Symbol |
<oColumn> | The column to which the grid is to be determined. |
Data Type: | bDataColumn |
Return Value
oGrid | The object of the Grid. |
Data Type: | bGrid |
Description
If the grid is determined for the column caption,
1.it is examined whether in the column a bBrowserColumn:CaptionView object is defined and whether in this a grid (see also bViewStyle:Grid) is set unequal to NULL_OBJECT.
Ü If it is, this grid is returned.
2.it is examined whether in the browser a bBrowser:CaptionView object is defined.
Ü If it is, the grid (see also bViewStyle:Grid) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
If the grid is determined for the column values,
1.it is examined whether in the column a bBrowserColumn:DataView object is defined and whether in this a grid (see also bViewStyle:Grid) is set unequal to NULL_OBJECT.
Ü If it is, this grid is returned.
2.it is examined whether in the browser a bBrowser:DataView object is defined.
Ü If it is, the grid (see also bViewStyle:Grid) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
If the grid is determined for the column footer,
1.it is examined whether in the column a bBrowserColumn:FooterView object is defined and whether in this a grid (see also bViewStyle:Grid) is set unequal to NULL_OBJECT.
Ü If it is, this grid is returned.
2.it is examined whether in the browser a bBrowser:FooterView object is defined.
Ü If it is, the grid (see also bViewStyle:Grid) from this object is returned.
3.Ü the value NULL_OBJECT is returned.
See Also
Page url: http://www.YOURSERVER.com/index.html?bbrowser_getcolumngrid.htm