Perform Inline Edit And Sort Inside Flow Data Table

by Sudipta Deb | Jan 14, 2026 | flow, learn salesforce, Salesforce, Salesforce Release, Spring 26 Salesforce Release, visual workflow, workflow | 0 comments

Sudipta Deb

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 smile)

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

Leave a Reply

Written by Sudipta Deb

Enterprise Cloud Architect, Content Creator, 20x Salesforce Certified, 1x Google Cloud Certified, 2x Copado Certified

Related Posts

Salesforce Cancels the “Permissions in Profiles” Retirement: What It Means for Admins and Architects

Salesforce Cancels the “Permissions in Profiles” Retirement: What It Means for Admins and Architects

For the last few years, Salesforce administrators, architects, and security teams have been preparing for a major platform change: the retirement of permissions managed directly through Profiles. Salesforce had previously announced plans to move organizations toward a Permission Set–led security model, with enforcement expected to begin around the Spring ’26 timeframe.

read more...
New Apex Method | Extracting Picklist Values Based on Record Type Inside Apex

New Apex Method | Extracting Picklist Values Based on Record Type Inside Apex

For years, Salesforce developers have faced a common challenge: programmatically retrieving picklist values that are specific to a certain Record Type directly within Apex. The “solutions” often involved either complex SOQL queries against metadata, relying on the UI API (with its associated callout limits and serialization overhead), or maintaining clunky custom metadata/settings.

Good news, Technical Potpourri readers! The Salesforce Spring ’26 release is bringing a game-changer that will significantly simplify your Apex code and improve performance: native Apex methods to filter picklist values by Record Type!

read more...

0 Comments

Leave a Reply