|
NAMETk::TableMatrix::SpreadsheetHideRows - Table Display with selectable hide/un-hide of rowsSYNOPSISuse Tk; use Tk::TableMatrix::SpreadsheetHideRows my $t = $top->Scrolled('SpreadsheetHideRows', -selectorCol => 3, -expandData => $hashRef, -rows => 21, -cols => 11, -width => 6, -height => 6, -titlerows => 1, -titlecols => 1, -variable => $arrayVar, -selectmode => 'extended', -resizeborders => 'both', -bg => 'white', ); DESCRIPTIONTk::TableMatrix::SpreadsheetHideRows is a Tk::TableMatrix::Spreadsheet-derived widget that implements a Spreadsheet-like display of tabular information, where some of the rows in the table can be expanded/hidden by clicking a '+/-' selector in the row. This can be used to display top-level information in a table, while allowing the user to expand certain table rows to view detail-level information.See demos/SpreadsheetHideRows in the source distribution for a simple example of this widget Widget-specific OptionsIn addition the standard Tk::TableMatrix widget options. The following options are implemented:
MEMBER DATAThe following items are stored as member data
Widget MethodsIn addition the standard Tk::TableMatrix widget method. The following methods are implemented:showDetailShows (i.e. expands the table) the detail data for a given row. This method is called when a user clicks on an indicator that is not already expanded.Usage: $widget->showDetail($row); # Shows the detail data for row number $row hideDetailHides the detail data for a given row. This method is called when a user clicks on an indicator that is already expanded.Usage: $widget->hideDetail($row); # Hides the detail data for row number $row
Visit the GSP FreeBSD Man Page Interface. |