

Sudipta Deb
Founder of Technical Potpourri, Co-Founder of Shrey Tech, Enterprise Cloud Architect
With Spring '26 Salesforce release, you will get lot's of new flow enhancements. I have a dedicated blog and youtube video covering important flow features. One of the feature is that now you will be able to perform inline editing and column sorting inside Data Table flow component.
So in this blog post, I am going to show you how you can configure your Data Table so that your end users can do inline editing and column sorting. But at the same time, I will show you how you can save those inline changes in Salesforce record using Flow.
Watch The Video Or Read The Article (Or Do Both
)

The form you have selected does not exist.
Let's Start Building The Flow
I will start by creating a screen flow. Plan is to display all the opportunities from my org inside Data Table. So first thing, I will fetch all the opportunities using Get Records flow elements. This is how I will configure Get Records element.

Once I have all the opportunities fetched, I will add a screen element inside the flow. Inside the screen element, I will include the Data Table. This is where I will configure the Data Table.

This is how I will configure the Data Table.
- Source Collection: I will select the previous Get Records element. This is the place from which data will come.
- Configure Rows: Here you can configure whether you want your end users to select single or multiple rows from the data table. Also, you can mark the entire data table as read-only.
- Configure Columns: This tab is the place where you can select fields that will be used as columns inside the data table. Against each column, you can select whether you will let your users sort by column values and edit column values.

Now if you save the flow, activate, and run, you will see the opportunities from your org show inside a data table. Below is the screenshot from my org, where I am now able to do inline editing on the opportunity name field.

Looks great, right? All the opportunity records are being displayed inside data table and your end users can do inline editing on Name column and perform sorting.
But there is a problem. When your end user will perform some inline editing and click on submit, the changes are not getting reflected in the system. That's not good. So let's fix that problem and save the changes inside the same flow.
Save Inline Changes Inside Flow
To correct that, I need to figure out which opportunities are being updated. For that, I will bring the loop element, and in the Collection Variable section, I will choose Screen2 > All Opportunities > Edited Rows. This is basically the edited rows from the data table, which I put in the previous screen. Here is the screenshot -

Under the For Each, I will add the Update Records element. In the Record or Record Collection section, I will choose the current item from the loop element.

And that's all you need to do to save the inline changes from data table inside the salesforce record.
Conclusion
I hope now you know how you can configure your data table inside Screen Flow so that your end users can do inline editing and sort columns. Also very important is to take those changes and save them inside the Salesforce record.
Please provide your comment and signup for the newsletter.
Disclaimer
This article is not endorsed by Salesforce, Google, or any other company in any way. I shared my knowledge on this topic in this blog post. Please always refer to Official Documentation for the latest information.



0 Comments