Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Confluence Table Filter plugin allows to filter the data presented in tables. Data filtration can be applied to several fields at the same time. To do this you must specify to the plugin the names of the fields and that's all. The list of possible values for filtration is taken from the table itself, there is no need for you to specify them manually.

Parameters

This Confluence plugin consists of one macro {table-filter}. To process the table data one 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 parameters of {table-filter} are listed in the followig table:

ParameterPresenseDefaultDescription
columnoptionalThe columns by which the table should be filtered. While using filters by several columns simultaneously, their names should be divided by comma
userfilteroptional The 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-widthoptional150The value of this parameter specifies the width of combobox. The value of this parameter is in pixels
buttonoptionalfalseWhen the value of this parameter is 'true' the filter can be hidden/shown by clicking
hidelabelsoptionalfalseAllows to hide labels of comboboxes and textboxes if set to 'true'
defaultoptional The default values for comboboxes and textboxes by which the table should be filtered.

Examples

Default value for filtration

Table Filter
defaultDoe
userfilterLast Name

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

Table Filter
defaultDoe, London
columnLast Name, City

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

One column for filtration by user-entered keyword

Table Filter
userfilterFirst Name

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

One column for filtration

Table Filter
columnLast Name

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

Several columns for filtration

Table Filter
columnLast Name, City

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

Changing the width of combobox in the filter

Table Filter
cell-width100
columnLast Name

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

Hiding the filter

Table Filter
buttontrue
columnLast Name

Last Name

First Name

Occupation

City

Doe

John

Developer

London

Fry

Philip

Delivery boy

New York City

Doe

Janet

Scientist

Tokyo

Farnsworth

Hubert

Scientist

New York City

Farnsworth

Cubert

Student

New York City

This is the home of the Confluence Table Filter space.

To help you on your way, we've inserted some of our favourite macros on this home page. As you start creating pages,
blogging and commenting you'll see the macros below fill up with all the activity in your space.

Navigate space
Section
Column
width60%
Recently Updated
Column
width2%
Column
width38%
Page Tree Search
pagetree