New Table Button to Expand All Grouped Rows

Just wondering if there is a way to expand all rows with a switch components or similar?

Hello @jason3w!

I believe that table's have a method called expandRows as well as a collapseRows method.

It looks like it was added in version 3.37.0

The expandRows method can also be called with an object and the corresponding keys of 'mode': 'index' and the key of 'index' connected to a value for which zero-indexed row you can to close. For the use case of specifying a single row, with a row value that you can make dynamic.

You could call this function inside of a switch component's code block to trigger on click!