
CGI::Widget::DBI::Search::Display::Table - HTML table display class for Search widget

This class is not intended to be used directly

This class displays search results retrieved in the search widget in table format, much like the output from a typical relational database client. The dataset can be sorted via column header anchor tags, and paging links appear on all corners of the table display, as well as a list of navigable page ranges at bottom center.

Builds HTML table rows for current page in the dataset, including a header row with the visible columns with sortable columns as clickable anchor tags.
Builds data in object variables:
dataset_rows_html header_columns header_html
Called by render_dataset() to render just the column headers (along with sort links) for the most recent search.
Returns HTML rendering of current page in search results, along with navigation links.
Returns an HTML table containing navigation links for first, previous, next, and last pages of result set, and optionally, number and range of results being displayed, and/or navigable list of pages in the dataset.
This method is called from display() and should be treated as a protected method.
parameters: $showtotal boolean to toggle whether to show total number of results along with range on current page $showpages boolean to toggle whether to show page range links for easier navigation in large datasets (has no effect unless -show_total_numresults setting is set)