WebTree.AddColumn (gb.web.gui)

Function AddColumn ( Text As String [ , Width As String, Alignment As Integer ] ) As _WebTableColumn

Add a new column to the view.

  • Text is the title of the column.

  • Width is its width, or if the column must expand. If the width is not specified, the column will fit its contents.

  • Alignment is the column alignment, among Align.Left, Align.Center,Align.Right and Align.Normal (the default).

The column object is returned.