class | |||||||||||||||||||||||
| |||||||||||||||||||||||
| |||||||||||||||||||||||
property | |||||||||||||||||||||||
The Table.at_selection property returns an observable that is updated whenever the table’s selection state changes through an action (as also reported via action) or via selection as an observable.
The choice_to_row function converts an element of choices to an array of label strings to show in the table.
The style list must contain exactly one of single, #'multiple, and #'extended.
#'single: Creates a table where at most one row can be selected at a time. On some platforms, the user can deselect the (sole) selected item. The #'single, #'multiple, and #'extended styles are mutually exclusive, and one of them must be present.
#'multiple: Creates a multiple-selection table where a single click deselects other rows and selects a new row. Use this style for a table when single-selection is common, but multiple selections are allowed.
#'extended: Creates a multiple-selection table where a single click extends or contracts the selection by toggling the clicked row. Use this style for a table when multiple selections are the rule rather than the exception.
The #'multiple and #'extended styles determine a platform-independent interpretation of unmodified mouse clicks, but dragging, shift-clicking, control-clicking, etc. have platform-standard interpretations. Whatever the platform-specific interface, the user can always select disjoint sets of rows or deselect rows (and leave no items selected).
#'column_headers: Shows the table column names.
#'clickable_headers: Allows the user to click a table column, where clicks are handled by the table’s ~action callback.
#'reorderable_headers: Allows the user to reorder table columns, where the table’s ~action callback receives a notification of reordering.
#'variable_columns: Allows new columns to be added dynamically.
#'horizontal_label: When the table has a label, show it to the left of the control. Horizontal label placement is the default if #'vertical_label is not specified, and #'horizontal_label and #'vertical_label are mutually exclusive.
#'vertical_label: When the table has a label, show it above the control.
enumeration | ||||
|
annotation | |
|
