grafana/scenes

Show empty cell in table

Opened this issue · 1 comments

Is it possible to show an empty cell using value mapping?
I want to make sure that if the incoming data is say 'null', no text is displayed in the cell.
The display text input cannot be left blank. Is there a character string or other setting I can use to achieve this?
Monosnap Edit panel - locations - Dashboards - Grafana 2024-05-06 16-55-42

It works in the code:

.overrideMappings([
        {
          type: MappingType.RegexToText,
          options: {
            pattern: '/null/',
            result: {
              index: 0,
              text: '',
            },
          },
        }