Programically group table rows

Is there a way to programically control the way the new table component is grouped?
I'd love to allow users to turn grouping on/off for some columns at will

5 Likes

Hi @yassa it doesn't look like we support this yet, but I'll put in a feature request!

5 Likes

+1

1 Like

+100

1 Like

+1000000000

1 Like

+100000

1 Like

+1 for this

+1
Right now i have to make two tables for my users one with grouped rows and without which i switch with a segment control for hidden or not. Depending on the user and their needs some its more efficient with groups others without.

+1

+1

Hi there!

We added a setGrouping API for programmatically grouping table rows (as with our other component apis, you can access it via event handlers or JS queries):

image

3 Likes

This is great!

:love_you_gesture: