Adi Fairbank > CGI-Widget-DBI-Search-0.23 > CGI::Widget::DBI::Search::Display::Grid

Download:
CGI-Widget-DBI-Search-0.23.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source  

NAME ^

CGI::Widget::DBI::Search::Display::Grid - Grid display class for Search widget

SYNOPSIS ^

  This class is not intended to be used directly

DESCRIPTION ^

This class displays search results retrieved in the search widget in a grid format with each row in the dataset inhabiting its own cell. The dataset can be sorted via a drop-down menu at the upper-right of the grid, and paging links appear at the lower right.

METHODS ^

render_dataset()

Builds an HTML table in grid layout for current page in the dataset.

Builds data in object variables:

  dataset_cells_html
display_cell( $row )

Returns an HTML table cell rendering for row $row in the dataset. Called by render_dataset() for each row in the current page of search results.

display_dataset()

Returns HTML rendering of current page in search results, along with navigation links.

_set_display_defaults()

Sets grid-layout specific default settings in addition to settings in AbstractDisplay.