Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version

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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.2
Unrevised from 8.1 to 8.2.
8.1 version