Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version

## add-column

Arguments: list-view-or-grid-column-section list-view-column-or-grid-column &optional index

For a `list-view` control, adds a new `list-view-column` specified by list-view-column-or-grid-column to list-view-or-grid-column-section at index. An index of zero indicates the leftmost position, 1 means second from the left, and so on. An index of -1 (this is the default for `list-view`s) means in the rightmost position. See the description of the `list-view` control.

For a `grid-widget` control, adds a `grid-column`, specified by the list-view-column-or-grid-column to the `grid-column-section` specified by list-view-or-grid-column-section at the specified index among the columns of that section. An index of zero indicates the first (leftmost) position. A huge number can be used for index to add to the end. The default index for the `grid-widget` method is zero. Alternately, (setf subsections) can be called to replace the entire set of columns of the column section.

Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 9.0 Unrevised from 8.2 to 9.0. 8.2 version