Class Table-View

A view designed to present sequences of object in a
table to the user.

Part of:

package weblocks, class grid-view, class view

Direct Superclass

viewA meta description of the user interface.

Direct Subclass

grid-viewA view designed to present sequences of object in a
grid to the user. This view inherits from t...

Slot

caption
A caption string to be used for the table.
Initargs::caption; Accessors:table-view-caption.
default-fields-prefix-fn
A function called prior to rendering the fields. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::default-fields-prefix-fn; Accessors:view-fields-default-prefix-fn.
default-fields-suffix-fn
A function called after rendering the fields. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::default-fields-suffix-fn; Accessors:view-fields-default-suffix-fn.
default-summary
A summary string to be used for the table if no :summary keyword is provided.
Initargs::summary; Accessors:table-view-default-summary.
empty-message
See *render-empty-sequence-string*.
Initform:*render-empty-sequence-string*, Initargs::empty-message; Accessors:table-view-empty-message.
fields
A list of objects of class 'view-field', used to describe the fields that the view will render.
Initargs::fields; Accessors:view-fields.
header-row-prefix-fn
A function called prior to rendering the table header row. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::header-row-prefix-fn; Accessors:table-view-header-row-prefix-fn.
header-row-suffix-fn
A function called after rendering the header row. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::header-row-suffix-fn; Accessors:table-view-header-row-suffix-fn.
inherit-from
A view to inherit from. Possible values include scaffold views (in which case a default scaffolding view will be used), a custom view name, or NIL. Specific views should inherit from an appropriate scaffold view by default.
Initargs::inherit-from; Accessors:view-inherit-from.
row-prefix-fn
A function called prior to rendering each table row. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::row-prefix-fn; Accessors:table-view-row-prefix-fn.
row-suffix-fn
A function called after rendering each table row. The function should expect the view object, the object being rendered, and any additional arguments passed to the view.
Initargs::row-suffix-fn; Accessors:table-view-row-suffix-fn.

Direct Method

render-object-view-implRenders 'obj' using 'view'.
render-table-view-body-rowRenders the rows in the 'tbody' element of the table. The
default implementation uses 'render-tab...
render-table-view-header-rowRenders the row in the 'thead' element of the table. The default
implementation uses 'render-view...
render-view-fieldRenders a given view field. This function should
render appropriate structural markup, and call r...
render-view-field-headerRenders a table header cell.
render-view-field-header-valueRenders a table header cell value.
with-table-view-body-rowUsed by table view to render body rows. Specialize this function
to modify HTML around a given ro...
with-table-view-headerTable specific header responsible for rendering
table, thead, and tbody HTML.
with-table-view-header-rowUsed by table view to render header rows. This functions calls
'render-table-view-header-row' to ...
with-view-headerRenders header and footer around the body of the
view. Specialize this function to customize rend...