Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Minimally revised from 8.0.
8.0 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-2009, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 8.1. has had minimal revisions compared to the 8.0 page.
Created 2007.4.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 8.1
Minimally revised from 8.0.
8.0 version