grafana / grafonnet

Jsonnet library for generating Grafana dashboards.
https://grafana.github.io/grafonnet/
Apache License 2.0
322 stars 19 forks source link

Add filterable option in table panel #126

Closed vishnuchalla closed 9 months ago

vishnuchalla commented 9 months ago

Previously table use to have a filterable:true option in grafonnet-lib library which used to provide us with a flexibility to filter rows based on the selected filters. For example

  "fieldConfig": {
    "defaults": {
      "custom": {
        "align": "auto",
        "cellOptions": {
          "type": "auto"
        },
        "inspect": false,
        "filterable": true
      },

This option is not present in the new grafonnet library. Requesting to add it.

Duologic commented 9 months ago

From #127:

There is a distinct field fieldConfig.defaults.custom.filterable that is not in the table schema. Makes sense to investigate that deeper, I find a reference here which shows that there are more fields missing. Let's see how we can get those into Grafonnet too.