Part of stoqlib.reporting.base.tables View In Hierarchy
Known subclasses: stoqlib.reporting.base.tables.ObjectTableBuilder
Method | __init__ | Creates a new ColumnTableBuilder object |
Method | create_table | Override ReportTableBuilder create_table method to allow specify |
Method | get_row_data | Returns all the row columns formatted |
Method | build_data | Create the table rows list. |
Method | _get_header | Returns a list with the column names. |
Method | add_row | Just add an extra row to the table |
Method | update_style | Apply the column table style. |
Inherited from ReportTableBuilder:
Method | set_highlight | Set the table highlight type: |
Method | get_data | Return all the table rows |
Parameters | data | A list of lists, where each nested list represents a row (naturally, each column of this nested list is a table column). |
(type: list ) | ||
columns | A list of TableColumn instances representing the table columns | |
(type: list ) | ||
style | The table style. @type TableStyle | |
table_line | Define the type of the line that is inserted between the table rows. | |
(type: One of TABLE_LINE or TABLE_LINE_BLANK constants. ) | ||
do_header | Must the table header be drawed? Defaults to True | |
(type: bool ) | ||
extra_row | An list of strings to be inserted right after the table. | |
(type: list ) | ||
summary_row | A list of strings to be inserted after the table and that means the sum of one or more columns. | |
(type: list ) |
Parameters | data | the row list passed by the user when creating the table |
(type: list ) |