Questions about expand groups by default in tables

I have a table that is grouped by more than one column (2-4 levels of grouping). I'm trying to make the rows expand and collapse when clicking a button, I'm currently using a variable which I set to true or false and then pass that variable in the FX of the expand groups by default parameter of my table.

image

I have 2 problems with this approach:

  • The value of the expand groups by default randomly resets (reverts to the checkbox version) every so often, even though I don't touch it, which is annoying because the button just stops working until I edit the field back to the value in the screenshot. Is there any workaround this bug (maybe setting this property through a setter method or something like that)?

  • Only the first layer of the table gets expanded, which is not the best thing in my usecase. I don't know if this is a bug or intended behaviour (if its intended - are there any plans to expand this feature so all the group layers expand).

1 Like

Hey @annadox ,

Could you please share more details about the issue you're facing? It would be really helpful if you could provide:

  • Some screenshots of the problem
  • Any relevant code snippets
  • A screen recording showing the issue in action
  • Or even your app.json file

This will help us understand your setup better and provide you with more accurate guidance. Let us know—happy to assist!