YstokGrid
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.
YstokGrid can be included into any
CAPI interface window as an ordinary pane. It requires
Ystok-Library and
Ystok-Widgets.

Basic Features
- 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
programmatically.
- The height of all rows is the same and adjustable via a mouse gesture or
programmatically.
- 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.
Check Column
- Boolean or triple state check boxes.
- Toggling via mouse or keyboard.
What Is New in Release 1.1
- Adapted and tested for LispWorks 5.0:
- for LW5, editing pane font can be of variable width.
- for LW5, cursor files are loaded during compilation and are no longer
needed in run-time.
- Added the leftmost non-scrollable (aka frozen) columns feature,
which is controllable by the left-frozen-ncols slot of the ygrid class; they
are always visible when scrolling horizontally similar to the row header.
- Added several event generics and callbacks.
YGrid was tested on LispWorks 4.2-4.4 and 5.0 for Windows. Take a look at change.log for release history.
The Professional Edition of YstokGrid provides more column types, features, and benefits,
see Ystok Products page.
See also