ADD COLUMN COMMAND
ADDCOLUMN METHOD
  
  

Add a new column to a grid control.

SYNTAX

COMMAND

ADD COLUMN [ INDEX <nColIndex> ] [ CAPTION <cCaption> ] [ WIDTH <nWidth> ] [ JUSTIFY <nJustify> ] TO <ControlName> OF <ParentWindowName>

METHOD

<ParentWindowName>.<ControlName>. AddColumn ( [ nColIndex ] , [ cCaption ] , [ nWidth ] , [ nJustify ] )

When this command / method is used all items in grid (if any) will be lost.