combines table viz docs (#52176)

This commit is contained in:
Christopher Moyer 2022-07-13 16:56:01 -05:00 committed by GitHub
parent 5fe1068f81
commit 2520d8f827
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 43 additions and 50 deletions

View File

@ -1,48 +0,0 @@
---
aliases:
- /docs/grafana/latest/features/panels/table_panel/
- /docs/grafana/latest/panels/visualizations/table/filter-table-columns/
- /docs/grafana/latest/reference/table/
- /docs/grafana/latest/visualizations/table/filter-table-columns/
- /docs/grafana/next/panels/visualizations/table/table-field-options/
keywords:
- grafana
- table options
- documentation
- format tables
- table filter
- filter columns
title: Filter table columns
weight: 600
---
# Filter table columns
If you turn on the **Column filter**, then you can filter table options.
## Turn on column filtering
1. In Grafana, navigate to the dashboard with the table with the columns that you want to filter.
1. On the table panel you want to filter, open the panel editor.
1. Click the **Field** tab.
1. In Table options, turn on the **Column filter** option.
A filter icon appears next to each column title.
{{< figure src="/static/img/docs/tables/column-filter-with-icon.png" max-width="500px" caption="Column filtering turned on" class="docs-image--no-shadow" >}}
## Filter column values
To filter column values, click the filter (funnel) icon next to a column title. Grafana displays the filter options for that column.
{{< figure src="/static/img/docs/tables/filter-column-values.png" max-width="500px" caption="Filter column values" class="docs-image--no-shadow" >}}
Click the check box next to the values that you want to display. Enter text in the search field at the top to show those values in the display so that you can select them rather than scroll to find them.
## Clear column filters
Columns with filters applied have a blue funnel displayed next to the title.
{{< figure src="/static/img/docs/tables/filtered-column.png" max-width="500px" caption="Filtered column" class="docs-image--no-shadow" >}}
To remove the filter, click the blue funnel icon and then click **Clear filter**.

View File

@ -4,13 +4,23 @@ aliases:
- /docs/grafana/latest/reference/table/
- /docs/grafana/latest/visualizations/table/
- /docs/grafana/next/panels/visualizations/table/table-field-options/
- /docs/grafana/latest/features/panels/table_panel/
- /docs/grafana/latest/panels/visualizations/table/filter-table-columns/
- /docs/grafana/latest/reference/table/
- /docs/grafana/latest/visualizations/table/filter-table-columns/
- /docs/grafana/latest/visualizations/table/
keywords:
- grafana
- dashboard
- documentation
- panels
- table panel
- table options
- format tables
- table filter
- filter columns
title: Table
menuTitle: Table
description: Learn about table panel visualization features.
weight: 1000
---
@ -113,8 +123,39 @@ Enables value inspection from table cell. The raw value is presented in a modal
## Column filter
You can temporarily change how column data is displayed. For example, you can order values from highest to lowest or hide specific values. For more information, refer to [Filter table columns]({{< relref "filter-table-columns/" >}}).
You can temporarily change how column data is displayed. For example, you can order values from highest to lowest or hide specific values. For more information, refer to [Filter table columns]({{< relref "#filter-table-columns" >}}).
## Pagination
Use this option to enable or disable pagination. It is a front-end option that does not affect queries. When enabled, the page size automatically adjusts to the height of the table.
## Filter table columns
If you turn on the **Column filter**, then you can filter table options.
### Turn on column filtering
1. In Grafana, navigate to the dashboard with the table with the columns that you want to filter.
1. On the table panel you want to filter, open the panel editor.
1. Click the **Field** tab.
1. In Table options, turn on the **Column filter** option.
A filter icon appears next to each column title.
{{< figure src="/static/img/docs/tables/column-filter-with-icon.png" max-width="500px" caption="Column filtering turned on" class="docs-image--no-shadow" >}}
### Filter column values
To filter column values, click the filter (funnel) icon next to a column title. Grafana displays the filter options for that column.
{{< figure src="/static/img/docs/tables/filter-column-values.png" max-width="500px" caption="Filter column values" class="docs-image--no-shadow" >}}
Click the check box next to the values that you want to display. Enter text in the search field at the top to show those values in the display so that you can select them rather than scroll to find them.
### Clear column filters
Columns with filters applied have a blue funnel displayed next to the title.
{{< figure src="/static/img/docs/tables/filtered-column.png" max-width="500px" caption="Filtered column" class="docs-image--no-shadow" >}}
To remove the filter, click the blue funnel icon and then click **Clear filter**.