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

title-reader

Arguments: check-box-column-mixin

An accessor on a check-box column (an instance of a subclass of grid-column and check-box-column-mixin) of a grid-widget. Returns (or sets with setf) the name of a function which will be called in order to obtain the string to display in each check-box grid cell. A title-reader may also be nil rather than a function, in which case no string is displayed and the check-box gadget is centered horizontally in the grid cell. The default value is nil.

The function should take an arbitrary grid-row's data-object as its only argument, and return a string to display in that row. For example, here is the title-reader function for the "Full Time?" column of the employee grid example on the Examples tab of the Navigator dialog:

(defun full-time-p-title-reader (employee)
  ;; Show a string such as "Trent's full-time" 
  ;; beside the check-box.
  (format nil "~:(~a~)'s full-time" (name employee)))

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