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 inpublic/app/plugins/panel/table/module.tsx:18:
Table Options Interface
Frompublic/app/plugins/panel/table/panelcfg.gen.ts:18:
Default Options
Frompublic/app/plugins/panel/table/panelcfg.gen.ts:59:
Cell Height Options
Sorting
Field Configuration
Cell Options
Configured via custom editor atpublic/app/plugins/panel/table/module.tsx:52:
Cell Display Modes
Cell-Specific Options
Bar Gauge Cell
Sparkline Cell
Configured atpublic/app/plugins/panel/table/cells/SparklineCellOptionsEditor.tsx:
Image Cell
Footer Calculations
Configured atpublic/app/plugins/panel/table/module.tsx:36:
sum- Sum of all valuesmean- Average valuemin- Minimum valuemax- Maximum valuecount- Number of valueslast- Last value- And more…
Tooltips
Configured atpublic/app/plugins/panel/table/module.tsx:79:
Cell Value Inspect
Frompublic/app/plugins/panel/table/module.tsx:64:
- Auto cells
- JSON view cells
- Color text/background cells
Styling from Field
Frompublic/app/plugins/panel/table/module.tsx:118:
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:Data Links
Configure clickable links in cells using the standard field configlinks option:
Implementation Details
The Table panel uses React Table library for advanced table features. Key files:public/app/plugins/panel/table/module.tsx- Plugin definitionpublic/app/plugins/panel/table/TablePanel.tsx- Component implementationpublic/app/plugins/panel/table/TableCellOptionEditor.tsx- Cell options UIpublic/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.
Related Resources
Graph Panel
Visualize time series data
Stat Panel
Display single statistical values