Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Moderately revised from 7.0.

sort-column

Arguments: object

When object is a grid-widget, returns returns the grid-column by which grid-widget will be sorted whenever sort-grid is called on it. The current sort-column can be changed by calling (setf sort-column) with either the grid-column or its name. Setf'ing the property does not sort the grid column.

When object is a list-view, returns the name of the list-view-column by which the list-view is currently sorted. Setf'ing this property sorts the list-view by that column.

An application could call (setf sort-column) and sort-grid directly to sort a grid-widget at any time, perhaps in a custom cell-click method, or it could use the built-in interactive interface provided by the row-section-with-sort-gadget-mixin class, which provides its own cell-click methods that call these functions internally.

sort-column is a property of the grid-widget and list-view classes.


Copyright (c) 1998-2008, Franz Inc. Oakland, CA., USA. All rights reserved.
This page has had moderate revisions compared to the 7.0 page.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.0
Moderately revised from 7.0.