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

## 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-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