grafana/public/app/plugins/panel/table
Jev Forsberg 2e98f5063b
Table: Add row number column option (#62256)
* baldm0mma/addRowNumbers/ add showRowNums to panel cue

* baldm0mma/addRowNumbers/ add panel option for sowing row numbers

* baldm0mma/addRowNumbers/ update typing for showRowNums

* baldm0mma/addRowNumbers/ add buildFieldsForOptionalRowNums

* baldm0mma/addRowNumbers/ update addOptionalNumbersRowToTable

* baldm0mma/addRowNumbers/ adjust display method to return numeric and text values

* baldm0mma/ chaneg prop name to match

* baldm0mma/addRowNumbers/ update boolean swicth path

* baldm0mma/addRowNumbers/ move function

* baldm0mma/addRowNumbers/ add getToggleHiddenProps

* baldm0mma/addRowNumbers/ remove addNumbersRowToTable second arg

* baldm0mma/addRowNumbers/ add updateInitialState

* baldm0mma/addRowNumbers/ update getInitialState reducer with initialShowRowNumbers arg

* baldm0mma/addRowNumbers/ add useEffect for RowNumberColumn toggling

* baldm0mma/addRowNums/ bootleg fix

* baldm0mma/addRowNumbers/ export OPTIONAL_ROW_NUMBER_COLUMN_WIDTH

* baldm0mma/addRowNumbers/ add annos for readability

* baldm0mma/addRowNumbers/ remove superfluous annos

* baldm0mma/addRowNumbers/ add a few logs

* baldm0mma/addRowNumbers/ update annos

* baldm0mma/addRowNumbers/ update which footer row displays reducer type

* baldm0mma/addRowNumbers/ abstract away defaultRowNumberColumnFieldData

* baldm0mma/addRowNumbers/ update annos in utils.tsx

* baldm0mma/addRowNumbers/ update annos for defaultRowNumberColumnFieldData

* baldm0mma/addRowNumbers/ mark unused args with underscore

* baldm0mma/addRowNumbers/ add annos to addRowNumbersFieldToData

* baldm0mma/addRowNumbers/ update utils file type

* baldm0mma/addRowNumbers/ remove console.logs

* baldm0mma/addRowNumbers/ update file type

* baldm0mma/addRowNumbers/ update annos in utils

* baldm0mma/addRowNumbers/ remove superfluous footerGroups object

* baldm0mma/addRowNumbers/ add annos for tests

* baldm0mma/addRowNumbers/ add annos for self

* baldm0mma/addRowNumbers/ add tests to table.test.tsx

* baldm0mma/addRowNumbers/ update tests in utils.test

* baldm0mma/addRowNumbers/ update annos and tests

* baldm0mma/addRowNumbers/ remove console.logs

* baldm0mma/addRowNumbers/ update utils file ext

* baldm0mma/addRowNumbers/ update anno in table.tsx

* baldm0mma/addRowNumbers/ update annos in table.tsx

* baldm0mma/addRowNumbers/ rem error annos

* baldm0mma/addRowNumbers/ revert footerCell

* baldm0mma/addRowNumbers/ revert tests

* baldm0mma/addRowNumbers/ skip tests

* baldm0mma/addRowNumbers/ revert table isCountRowSet

* baldm0mma/addRowNumbers/ remove cloneDeep

* baldm0mma/addRowNumbers/ update filterFields

* baldm0mma/addRowNumbers/ skip tests

* Refactor count rows

* baldm0mma/addRowNumbers/ rem test skips

* baldm0mma/addRowNumbers/ update with annos

* baldm0mma/addRowNumbers/ skip timeing out test

* baldm0mma/addRowNumbers/ static row numbering and test updates

* baldm0mma/addRowNumbers/ remove dupe

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-02-03 07:00:29 -07:00
..
__snapshots__ Update jest monorepo to v29 (#58261) 2022-11-24 14:00:41 +00:00
cells Table Panel: Refactor Cell Options to Allow for Options per Cell Type (#59363) 2023-01-12 18:42:57 +07:00
img Panels: Update panel logos (#23964) 2020-04-27 22:08:43 +02:00
migrations.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
migrations.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
models.gen.ts Table: Add row number column option (#62256) 2023-02-03 07:00:29 -07:00
module.tsx Table: Add row number column option (#62256) 2023-02-03 07:00:29 -07:00
PaginationEditor.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
panelcfg.cue Table: Add row number column option (#62256) 2023-02-03 07:00:29 -07:00
plugin.json TimeSeries: Make timeseries the default panel and remove beta state (#33639) 2021-05-05 13:19:14 +02:00
README.md Prettier: Fix all markdown files and add markdown files to CI verify step (#39776) 2021-09-29 14:34:40 +02:00
suggestions.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
TableCellOptionEditor.tsx Table: Fixes broken link styles after recent cell options PR (#61582) 2023-01-17 17:08:23 +01:00
TablePanel.tsx Table: Add row number column option (#62256) 2023-02-03 07:00:29 -07:00

Table Panel - Native Plugin

The Table Panel is included with Grafana.

The table panel is very flexible, supporting both multiple modes for time series as well as for table, annotation and raw JSON data. It also provides date formatting and value formatting and coloring options.

Check out the Table Panel Showcase in the Grafana Playground or read more about it here:

https://grafana.com/docs/grafana/latest/features/panels/table_panel/