| Allegro CL version 8.2 This page is new in 8.2. |
Arguments: grid-widget
Caches the values for all cells of grid-widget
that are not cached already. Also
calls invalidate on
grid-widget to cause it to be redrawn with
possibly updated application values. This function should be called
only on a grid-widget whose cache-cell-values property is true. See that
property for more information.
To ensure that all cached values are up-to-date, call clear-cached-cell-values just before calling this function.
If reading cell values takes significant time, then calling this function may cause an initial delay as all cell values are read and cached, but may make scrolling faster by avoiding reading and caching values when they are first scrolled into view later. For a very large grid, the space to store all of the cached values may be significant.
Using this function can also prevent cell values from being read at unpredictable redisplay times, when it might not be safe. For example, if a read-cell-value method is reading from a remote database (this includes when the data-object of a grid row is a remote database object), then a redisplay at an unpredictable time could attempt to read its value while other code is already reading it. Calling this function at a known safe time will cache values so that they will not get read at redisplay time.
Copyright (c) 1998-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page is new in the 8.2 release.
Created 2016.6.21.
| Allegro CL version 8.2 This page is new in 8.2. |