A full tour of the Avonni Data Table in a screen flow: columns, row actions, filters, pagination and style.

A complete setup of the Avonni Data Table in a screen flow, from the data source to the final page. For Salesforce admins who want one walkthrough of the main table settings.
Hello everyone, and welcome. Today I'm going to show you how to use the Avonni Data Table. So this video is all about learning the basics of the Avonni Data Table: how to use the Data Table, how to customize the Data Table, how to make sure it's functional for your needs inside a screen flow. So let's jump right in, and let's create the screen element. First step, adding a label on the screen. Now let's drag the Avonni Data Table. Today's use case is to display a list of opportunities using the Avonni Data Table, and we will dive into specific features to customize and build the Data Table you want. So we just drag the Avonni Data Table. Let's open the Component Builder. That's extremely useful, powerful, because from there you get access to all the settings and properties to customize the Avonni Data Table. You get a preview of the Data Table as well, and on this right panel, properties to customize the Data Table your way. The first thing you need to do to set up your Data Table, you need to scroll down
and go on the data source. The data source section is where you can connect your Salesforce data with the Data Table. You have access to the manual data entry, if you want to create a Data Table manually without taking any Salesforce information. Using a variable data source, it's useful if you're using a Get Records collection from Salesforce. And you can also create your own query from there. That's the one I'm looking to use. Query is extremely useful because you don't need to create first a Get Records collection. You have some benefits of using it: if you want to display and manage thousands, hundreds of thousands of records, you need to use the query. With a standard variable Get Records collection, you won't be able to go over 50,000 records. So as I said, it's to display a list of opportunities. I need to select the Salesforce object I'd like to use on the Data Table. Now I selected the object, as you
can see on the left side, I have all the fields related to the Opportunity object, and it's extremely easy to drag and drop a field into the Data Table to build your Data Table. So let's drag the name, and you can add other fields: account ID, let's drag the amount, stage, probability. While you're dragging the fields, you have all the columns created here. It's easy to select a column like name. It's easy to adjust this column. For example, for the name of the opportunity, you may want to linkify it, so users will be able to click on the name to go directly to the related opportunity page. Let's say you'd like to make this field editable, or even filterable, even searchable. You can hide or show this field. Save. Now all the names are linkified. You can click on it, and it's also great to get a Data Table preview while you're building it. Let's do the same for the account ID. You may want to use a custom label, let's say Account Name instead. Linkify, editable, filterable, save. So you can really customize, fine tune each column and how you'd like to display each column. For example, probability: you may want to select probability, and instead of displaying this field using a percent field, let's display it using a progress bar. Show value. And you can customize variant, theme, thickness of the progress bar, and you will get a result like this. Again, it's all about the visual aspect of the Data Table. If you want, there is another possibility to adjust settings for all the columns. This time you have this button at the top, All Column Settings. So if you want to make all columns searchable, filterable, sortable, you can adjust the settings, and they will be applied automatically to all columns in the data
table. Now if you'd like to add a row action, on the right side you can add a column, and for the type of column you select action, and from there you create your row
action. So you can say Change Owner, Edit, we can have Delete, for example, or any custom action you'd like to add. Now I have my row action buttons with the options I set up on the Data Table. You also have access to other options on the Data Table, like Group By.
Let's say you'd like to group by stage, for example. You can group by a specific field, and you will get this type of Data Table. Filters: you can add additional
filters. Let's say you'd like to add a filter, but you don't want to display the field on the Data Table. You can select any field to act as a filter, so users will be able to filter by this specific field, and you don't have to display this field on the Data Table. You can make a field searchable without displaying it. I'm thinking about a number, specific information you just don't want to display on the Data Table. Next, you also have access to other options, like pagination. Let's say you
have a lot of data and you'd like to add pagination on the Data Table. You can say show pagination, and only show me the first 10 records, and then you get pagination. You can even customize the pagination bar: center, right, left. And customize if you'd like to have a first button icon name, first button label, and the same for the next and previous and last. That's for the pagination. Let's dive into the Header. Let's
say you'd like to add a title: Opportunity List, All Opportunities. So that's the way to define what you'd like to add at the top. For the Header, you can add an icon, is joined, set an icon size, name if you want, and you can also add a button action on the Header. So let's say I'd like to create a New button action. That's for the Header. Now,
something I didn't mention about filters. As you can see, you have filters right there, so you can say, okay, let's say I'd like to have all fields filterable. You have specific options for filters. If you're expanding that, you can select how you'd like to display filters: if you want to display the filters in a horizontal way, or using a popover when we click here, or even better, using a side panel. So you can select panel, and automatically you get access to the panel. And you also have access to specific settings for the side panel: if you want to position the side panel on the left or on the right, if you want to have a toggle button, if you want to make it closed by default, or hide the button for filters. Now, regarding, you know, the fine-tuning of the look and feel of the
Data Table, if you want to remove unnecessary margin, you can find it right there. And also at the top, you can click on pull to boundary, select top, select left and right, and select bottom. Now, if you have thousands of records on the Data Table and you'd like to activate automatically
the infinite scrolling, that's easy. You just need to click on this button. Automatically your Data Table will display data using infinite scrolling. So that's really for the visual aspect of the Data Table. That's the basics of the Avonni Data Table. The last thing I'd like to show you is the
Interactions. When I'm talking about Interactions, it's all about the actions you created, like row actions, for example. Those row actions you created, Change Owner, Edit, Delete, right now those are not functional. If your users are selecting Change Owner, nothing will happen. The same for Edit, Delete. It's the same for this New button at the top. It's set up, but it's not functional, because I didn't create an interaction. And that's where the Interactions tab comes into play. From there you can define interactions to make the Data Table fully functional. Let's start with a basic interaction on the header action. So add header action, you select the target name. Make sure to create the action first, otherwise this list would be empty. You select New. And now, okay, when my users are pressing this New button, what I'd like to trigger, what I'd like this button to do for my users. And you have access to various types of interaction. I will not dive into all of them, maybe the most important ones, like flow navigation, if you want to navigate to a next or previous screen. If you want to show a toast message. If you want to open another flow as a modal box, Open Flow Dialog. If you want to fire Comet. If you want to export data as an Excel or CSV file. But here, for this New button, I want my users to have access to the modal box to create a new opportunity. So the type of interaction I will select is Navigate, to navigate in Salesforce. And now I need to specify where I'd like my users to navigate. For the page reference type, I need to select the object page, and you need to select the Opportunity object, and finally the action name: you'd like to create a new opportunity. If needed, you can even prefill values. Let's say you'd like to assign by default a prefilled value. That's possible by adding an item. And also target, if you want to specify the target, if you want this new modal to open in the current window or in a new window. That's where the target can be useful. Save. And now the New button is functional. Regarding the Interactions, one essential piece is missing here, because I activated inline editing for specific fields, but I need to set up an interaction to be sure that the information will be saved for my users when they are using inline editing on the Avonni Data Table. That's where this save interaction comes into play. You click add save, and you just need to select the Update Records interaction. Save. That's it, you're done. All the information will be saved automatically. Finally, you also have
Style. It's more for fine-tuning the look and feel of the Avonni Data Table, if you want to customize the Data Table to really match the branding. You have access to various style settings to customize, for example, the background color of the Data Table, for the Header. I will use one I really like to use, it's border, and you can set a border to one pixel, style solid, color. So you can see now it's adding a border. So you can select gray, or maybe that way. Radius, 3 pixels. So now I have a border with a radius. What I can do, add border, we just apply border radius here, and Footer as well. Okay, now I'm done. I just created in maybe 10 minutes a fully working Data Table to display a list of all opportunities, that is functional with specific actions. That's the basics. I will do other videos regarding the Data Table with more deep dives about specific features, but if you want to learn the basics about how to easily set up the Avonni Data Table, you're at the right place. Now, once you're done, click Done. Let's save the flow. Okay, we just need to add this flow on the page, and that's the last step. Okay, let's add now the flow we just created
on this page. So I will open App Builder, drag the Flow component, and select the flow I'd like to display. And now it's right there. We get our just created Data Table, fully functional. If you want to search for an opportunity, you can search for an opportunity. If you want to do a mass update, you can select multiple opportunities and update a loap, for example. Save. Let's click New to create a new opportunity. Perfect, it's working fine. Users can now create a new opportunity from there. If we'd like to use the side panel, click on this button, and we can fine tune the data we'd like to display right from there, using the side panel with the filters you just added on the side panel. So everything is working fine, and I have now access to a powerful Data Table I just set up in less than 15 minutes. And that's really to show you the basics of the Avonni Data Table, and how you can use the Avonni Data Table to display any data you want within minutes, without having to custom code or reinvent the wheel. Let me know if you have any questions in the comment section below, and stay tuned for other videos. Have a good day. Bye-bye.
Query doesn't need a Get Records collection first. In the video, it is the choice for thousands or hundreds of thousands of records, since a standard Get Records collection can't go over 50,000 records.
In the Interactions tab, add a Save interaction and select Update Records.
Add the button as a header action, then in Interactions add a header action interaction of type Navigate, page reference type object page, object Opportunity, action name new.
Browse the whole library, filtered by where it runs and what you want to build.
All video tutorials