Sets the collection of all columns in the grid.
public void setColumns( Column[] columns )
columns
An array of Column objects that identify the columns to appear in the grid.
Setting the columns property removes all columns that are currently in the grid and replaces them with the new set of columns. To simply append a single column to the grid's collection of columns, call addColumn.
For information about setting the columns property in the Properties window, see Adding, Removing, and Rearranging Columns.
See Also getColumns