Group the rows of an Avonni Data Table by a field such as Stage, and adjust the grouping options.

Use the Group By feature of the Avonni Data Table to group screen flow rows by a field, such as opportunity stage. For Salesforce admins who want easier-to-read tables.
Hello. Today I'm going to show you how to build and customize the new Group By feature on the Avonni Data Table. The Group By feature on the Avonni Data Table is extremely useful and powerful for readability and data organization on the Data Table. Let me show you how it looks on Salesforce. So this is the Avonni Data Table live on my Salesforce, and here I'm using the Group By feature on the Data Table. As you can see, this list of opportunities is grouped by the Stage field. So basically I have like multiple data tables in one Data Table, and everything is fully functional. So if you want to inline edit a stage, to change the stage right there, it will automatically change the stage of that data. So it's extremely useful and powerful, especially for readability of the data you can have on the Data Table right there. So now let me show you how to customize and build that using the Avonni Components inside Flow
Builder. Okay, so that's my flow here. Let's open the Screen element. I have the Avonni Data Table I just dragged right there. Now when you click on Open Component Builder, you will see a preview of the Data Table. I already dragged all the fields. As you can see, in this example I'm not using the Group By. It's still displaying all the related information regarding the query I just set up on the data source. So you can use the query mode, integrated query mode, or use the variable if you have a Get Records collection. Now, if you want to activate and use the Group By feature, all you need to do is really to scroll down, and here you will find the Group By attribute. So all you need to do is select the field you'd like to group the information by, and now the Data Table is grouped by the Stage field. If you want, you also have access
to the Group By options. So you have access to various options to customize the look and feel of the Group By. First, you can hide undefined group. Let's say you want to undefine, or you want to hide a specific group, you just need to enter the label of the field you'd like to hide. You can also make sections non-collapsible. You can display the number of rows, the number of data you have inside each group by. And if you need it, you can show empty groups. So you can say, okay, non-collapsible, display group row count right there, and I'm done. So as you can see, it's extremely straightforward, easy to set up. You just need to scroll down to the Group By attributes right there, under the data mapping, and select the field you'd like to group the data by on the Data Table, and you're set. So you can click on Done and activate the flow to see the final
result. So if we go here, okay, now you can see the final result with my modification. Now I can see the display count of the number of records I have for each category of the Group By. So that's pretty much done for setting up the Group By feature on the Avonni Data Table. Extremely useful and powerful, because if you have a lot of data you'd like to manage, the Group By feature is extremely valuable. So let's try this. I mean, let us know in the comment section below if you have any question. If you want to learn more about this, let us know. Thank you so much. Bye-bye.
In the Component Builder, scroll down to the Group By attribute under the data mapping and select the field to group by, such as Stage.
Yes. In the Group By options, turn on Display group row count.
Hide undefined group (enter the label to hide), non-collapsible sections, Display group row count, and Show empty groups.
Browse the whole library, filtered by where it runs and what you want to build.
All video tutorials