Closed Git-Lior closed 1 year ago
This change allows sorting table rows by their fields
This is a useful feature which is supported in grafana v8: https://grafana.com/docs/grafana/v8.0/panels/visualizations/table/#sort-column
sortBy in grafana's Table panel options: https://github.com/grafana/grafana/blob/v8.0.x/public/app/plugins/panel/table/models.gen.ts#L17
sortBy
The name for TableSortByField was inspired by the matching type in grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-ui/src/components/Table/types.ts#L24
TableSortByField
What does this do?
This change allows sorting table rows by their fields
Why is it a good idea?
This is a useful feature which is supported in grafana v8: https://grafana.com/docs/grafana/v8.0/panels/visualizations/table/#sort-column
Context
sortBy
in grafana's Table panel options: https://github.com/grafana/grafana/blob/v8.0.x/public/app/plugins/panel/table/models.gen.ts#L17The name for
TableSortByField
was inspired by the matching type in grafana: https://github.com/grafana/grafana/blob/main/packages/grafana-ui/src/components/Table/types.ts#L24