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

## sort-grid

Arguments: grid-widget

Sorts the rows in the focused row-section of `grid-widget` by the current sort-column of the grid and that column's on-sort-predicate.

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.

If reading cell values takes significant time, sorting a grid could be sped up by turning on the cache-cell-values property of the grid-widget.

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