Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show empty cell in table #718

Open
korinekgergely opened this issue May 6, 2024 · 1 comment
Open

Show empty cell in table #718

korinekgergely opened this issue May 6, 2024 · 1 comment

Comments

@korinekgergely
Copy link

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

@korinekgergely
Copy link
Author

It works in the code:

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant