YstokGrid is a CAPI-based grid widget for LispWorks®.
The grid provides convenient GUI framework for working with data in tabular
form. The main design purpose was to present RDBMS records in rows. You can edit in place,
add, or delete records.
An instance of the ygrid class can be included into any
CAPI interface window as an ordinary pane. It requires
- Text display, text input, and check button columns.
- Enabled or read-only columns.
- Ghost columns, i.e. calculated from the values of other columns.
- Callbacks on interactive user actions.
- Selecting rows with various styles of choice-interaction via a row header.
- The width of any column is adjustable separately via a mouse gesture or
- The height of all rows is the same and adjustable via a mouse gesture or
- Assigning graphics args (foreground or background color, font etc.) to
every cell differentially.
- Sorting and filtering rows.
- Searching a single column via of a kind of "Find what" dialog.
- Standard records menu and toolbar.
- Undo changes performed on cell or entire record.
- Automatically hiding the vertical scrollbar after resizing the grid if its
contents does not require scrolling.
- The number of leftmost "frozen" columns that are not
horizontally scrolled (similar to the row headers column).
Text Display Column
- Rendering static text.
- Number and currency format localization; automatic initialization of
locale-specific parameters on Windows.
- Horizontal alignment: left, center, or right.
- Wrapping text automatically.
Text Input Column
- Customizable print-function, readers, writers, read and write converters.
- Full-fledged capi:editor-pane used for editing cell values.
- Boolean or triple state check boxes.
- Toggling via mouse or keyboard.
What Is New in Release 1.4
- Minor fixes, many small changes, code restructure, better API
- Adapted to Ystok-Widgets 1.3, which has undergone lots of additions
YstokGrid requires Ystok-Library,
and optionally Ystok-Local-Time.
YstokGrid is optionally required by
YGrid was tested on LispWorks 4.2-4.4 and 5.0 for Windows.
Download and installation
YstokGrid is available from
The distribution package contains both
the ASDF-based ygrid.asd
and the LispWorks system definition file defsys.lisp.