mirror of
https://github.com/grafana/grafana.git
synced 2025-07-30 21:12:37 +08:00

* kindsys: Adapt to new PanelCfg schema interface * building locally * Remove Panel prefix in cue files * Regenerate * Update imports * fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes * Fix formatting --------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Tania B <yalyna.ts@gmail.com>
49 lines
2.8 KiB
Markdown
49 lines
2.8 KiB
Markdown
---
|
|
keywords:
|
|
- grafana
|
|
- schema
|
|
title: TablePanelCfg kind
|
|
---
|
|
> Both documentation generation and kinds schemas are in active development and subject to change without prior notice.
|
|
|
|
## TablePanelCfg
|
|
|
|
#### Maturity: [experimental](../../../maturity/#experimental)
|
|
#### Version: 0.0
|
|
|
|
|
|
|
|
| Property | Type | Required | Default | Description |
|
|
|-----------|--------------------|----------|---------|-------------|
|
|
| `Options` | [object](#options) | **Yes** | | |
|
|
|
|
### Options
|
|
|
|
| Property | Type | Required | Default | Description |
|
|
|-----------------|---------------------------------------------------|----------|----------------------------------------------|--------------------------------------------------------------------|
|
|
| `frameIndex` | number | **Yes** | `0` | Represents the index of the selected frame |
|
|
| `showHeader` | boolean | **Yes** | `true` | Controls whether the panel should show the header |
|
|
| `cellHeight` | string | No | | Controls the height of the rows |
|
|
| `footer` | [object](#footer) | No | `map[countRows:false reducer:[] show:false]` | Controls footer options |
|
|
| `showTypeIcons` | boolean | No | `false` | Controls whether the header should show icons for the column types |
|
|
| `sortBy` | [TableSortByFieldState](#tablesortbyfieldstate)[] | No | | Used to control row sorting |
|
|
|
|
### TableSortByFieldState
|
|
|
|
Sort by field state
|
|
|
|
| Property | Type | Required | Default | Description |
|
|
|---------------|---------|----------|---------|-----------------------------------------------|
|
|
| `displayName` | string | **Yes** | | Sets the display name of the field to sort by |
|
|
| `desc` | boolean | No | | Flag used to indicate descending sort order |
|
|
|
|
### Footer
|
|
|
|
Controls footer options
|
|
|
|
| Property | Type | Required | Default | Description |
|
|
|----------|-----------------------------------|----------|---------|-------------|
|
|
| `object` | Possible types are: [](#), [](#). | | |
|
|
|
|
|