Parameters
This Confluence add-on consists of one macro {table-filter}. To process the table data you should specify as the body of macro{table-filter} the existing table, or some other macro, the results of whose work are the table. Macro body is obligatory. The The parameters of {table-filter} are listed in the followig following table:
ParameterPresense | Default | Description | |
---|---|---|---|
column | optionalThe columns by which the table should be filtered. While using filters by several columns simultaneously, their names should be divided by comma | ||
userfilter | optionalThe columns by which the table should be filtered with the user-entered keywords. While using filters by several columns simultaneously, their names should be divided by comma | ||
cell-width | optional | 150 | The value of this parameter specifies the width of comboboxa drop-down filter. The value of this parameter is in pixels |
button | optionalfalse | When the value of this parameter is 'true' the filter can be hidden/shown by clicking | |
hidelabels | optionalfalse | Allows to hide labels of comboboxes drop-down filters and textboxes if set to 'true' | |
default | optional | The default values for comboboxes drop-down filters and textboxes by which the table should be filtered. |
Examples
Default value for filtration and regular expressions
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
One column for filtration by user-entered keyword
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
One column for filtration (several values)
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Several columns for filtration
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Changing the width of combobox in the filter
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|
Hiding the filter
Table Filter | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||
|