Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 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-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version