Skip to main content
The Table panel displays data in a tabular format with extensive customization options for cells, columns, and data presentation.

Overview

The Table panel provides:
  • Multiple cell display modes
  • Sortable and filterable columns
  • Column freezing and resizing
  • Custom cell rendering (sparklines, gauges, images)
  • Footer calculations
  • Pagination support

Panel Options

The Table panel is defined in public/app/plugins/panel/table/module.tsx:18:

Table Options Interface

From public/app/plugins/panel/table/panelcfg.gen.ts:18:

Default Options

From public/app/plugins/panel/table/panelcfg.gen.ts:59:

Cell Height Options

Sorting

Field Configuration

Cell Options

Configured via custom editor at public/app/plugins/panel/table/module.tsx:52:

Cell Display Modes

Cell-Specific Options

Bar Gauge Cell

Sparkline Cell

Configured at public/app/plugins/panel/table/cells/SparklineCellOptionsEditor.tsx:

Image Cell

Configured at public/app/plugins/panel/table/module.tsx:36:
Available reducers:
  • sum - Sum of all values
  • mean - Average value
  • min - Minimum value
  • max - Maximum value
  • count - Number of values
  • last - Last value
  • And more…

Tooltips

Configured at public/app/plugins/panel/table/module.tsx:79:

Cell Value Inspect

From public/app/plugins/panel/table/module.tsx:64:
Allows inspecting full cell content in a modal dialog for:
  • Auto cells
  • JSON view cells
  • Color text/background cells

Styling from Field

From public/app/plugins/panel/table/module.tsx:118:
Allows dynamic cell styling using a field containing CSS properties:

Panel JSON Example

Basic Table

Table with Custom Cells

Advanced Features

Column Filtering

Enable filtering UI for columns to allow users to filter data client-side.

Pagination

For large datasets, enable pagination:

Frozen Columns

Freeze columns on the left during horizontal scrolling:
Configure clickable links in cells using the standard field config links option:

Implementation Details

The Table panel uses React Table library for advanced table features. Key files:
  • public/app/plugins/panel/table/module.tsx - Plugin definition
  • public/app/plugins/panel/table/TablePanel.tsx - Component implementation
  • public/app/plugins/panel/table/TableCellOptionEditor.tsx - Cell options UI
  • public/app/plugins/panel/table/panelcfg.gen.ts - Generated types
The Table panel supports field actions, which appear as buttons in cells for quick access to related functionality.

Graph Panel

Visualize time series data

Stat Panel

Display single statistical values