TableModule
TableModule
¶
PARAMETER | DESCRIPTION |
---|---|
columns
|
A list of columns to show. Default shows all columns.
TYPE:
|
show_header
|
Set true to show table header.
TYPE:
|
sizes
|
Width (in characters) of each column, 0 fits content. If list is shorted than number of columns, missing column widths will default to 0.
TYPE:
|
sort
|
See Sorting
TYPE:
|
**kwargs
|
See BaseModule
TYPE:
|
Sorting¶
Rows can be sorted by a single column name, or by a list of column names, in each case you can choose whether to reverse the sorting order.
- Single column
- Single column, reverse
- Multiple columns
- Multiple columns, reverse