Part of stoqlib.reporting.base.tables View In Hierarchy
| Method | __init__ | Creates a new ObjectTableBuilder object |
| Method | _get_header | Return the column names representing the table header. |
| Method | get_row_data | Create the row list, formatting its column values if needed. |
| Method | _expand_cols | This method is used to apply column expansion based on its expand |
Inherited from ColumnTableBuilder:
| Method | create_table | Override ReportTableBuilder create_table method to allow specify |
| Method | build_data | Create the table rows list. |
| Method | add_row | Just add an extra row to the table |
| Method | update_style | Apply the column table style. |
Inherited from ReportTableBuilder (via ColumnTableBuilder):
| Method | set_highlight | Set the table highlight type: |
| Method | get_data | Return all the table rows |
| Parameters | objs | A instance list, where each instance is a table row. (type: list. ) |
| columns | A list of ObjectTableColumn, representing the table columns. (type: list ) | |
| style | The table style. (type: TableStyle ) | |
| width | The table width. (type: int ) | |
| 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. ) | |
| extra_row | An object with data to be inserted right after the table. This data is included on the report as a normal data table after this object 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 ) |