Navigation:  Classes > bGroupColumn >

bGroupColumn:AddColumn()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Add a column to the group column.

Class

bGroupColumn

Type

Method

Syntax

<oGroupColumn>:AddColumn(

<oColumn>,

[<iPosition>]

) Æ lSuccess

Arguments

<oColumn>The column that is to be added to the group column. Both data columns and group columns can be added to.
Data Type:bBrowserColumn

 

<iPosition>The position at which the column is to be added in the group. If the argument is not specified or the value 0 is passed then the column is added at the end.
Data Type:Integer

Return Value

lSuccessA logical value that indicates whether the column was added.
TRUEThe column was added.
FALSEThe column could not be added.
Data Type:Logic

Description

bGroupColumn:AddColumn() adds a column to the group column. The access bGroupColumn:ColumnList contains a list with all columns that were added to the group column. With the method bGroupColumn:RemoveColumn() a column can be removed from the group again.

 

Important notes!
So that the column is displayed in the group column, it must be opened (see bBrowser:OpenColumn()) in the bBrowser and the bBrowser must be recalculated with the method bBrowser:Recalculate().
 
The data columns that are added to the group column must be open side by side in the bBrowser. Data columns are adjacent if they are following one after another in the list bBrowser:ColumnOpenList.

See Also

bBrowser:Recalculate()

bGroupColumn:ColumnList

bGroupColumn:RemoveColumn()

 


Page url: http://www.YOURSERVER.com/index.html?bgroupcolumn_addcolumn.htm