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

Is it possible to match nested table fields after groupToNestedTable? #994

Open
nosir-atlassian opened this issue Dec 6, 2024 · 0 comments

Comments

@nosir-atlassian
Copy link

nosir-atlassian commented Dec 6, 2024

Hi, I have a question about nested table, not sure I'm doing this wrong or it's a feature missing.

So I have a table with 2 fields: Field A & Field B.
When I applying matchFieldsWithName to Field B to change styles like this, it works perfectly fine:

          body: PanelBuilders.table()
            .setOverrides((b) =>
              b
                .matchFieldsWithName('Field B')
                .overrideUnit('percent')
                .overrideCustomFieldConfig('width', 200)
            )
            .setTitle('Data Table')
            .build(),
        }),

However, after applying groupToNestedTable transform to groupby Field A, the matching rule doesn't seem to work on nested table Field B anymore, this means I can't target to overwrite any props for nested table cells.

I also tried matchFieldsByType and matchFieldsWithNameByRegex, also no luck.

Can I get some help on this please?
Thanks a lot

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