Class s.r.b.t.GroupingTableColumn(ObjectTableColumn):

Part of stoqlib.reporting.base.tables View In Hierarchy

This column type works like ObjectTableColumn but it doesn't implements the expand attribute, nor virtual columns. This class must be used with objects that needs more than one line to represents its data.
Method __init__ Creates a new ObjectTableColumn object

Inherited from ObjectTableColumn:

Method get_string_data Returns the column value. The value can be returned through
Method __repr__ Undocumented

Inherited from TableColumn (via ObjectTableColumn):

Method get_translated_alignment Undocumented
Method update_style Apply the column style.
def __init__(self, data_source, colspan=1, format_string=None, align=LEFT, truncate=False, width=None, virtual=False, format_func=None, style=None):
Creates a new ObjectTableColumn object
ParametersnameThe column name
(type: str )
data_sourceThe attribute name where get the column value from. This can be a callable object too.
(type: object )
expand_factorThe column expand factor.
(type: float )
alignThe table alignment. One of LEFT, RIGHT, CENTER constants defined on stoqlib reporting flowables module.
(type: One of LEFT, RIGHT or CENTER )
truncateIf True, the column value will be truncate if its size was greater than the column width.
(type: bool )
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.