TLDR: Is it possible to refresh a single dataset row? After an ajax workflow runs I want to refresh the current row from the database, but not the whole dataset (as it can be very large and slow to run the whole query).
I have a screen with a record-table that displays a potentially very large dataset, and a button which runs a validation routine against the current row of the dataset. Originally I was running the validation workflow via a screen action, but this means the whole screen would reload when the validation completed, refreshing the entire dataset when only one row has changed.
The problem is I don’t have easy access to the dataset that commits the changes to the database; it is a different dataset than what is submitted by the ajax call, and thus the changes aren’t automatically sent back to the screen when the ajax request is completed.
Usually what I would do is manually copy the changes from the single row edit dataset back to the list dataset during the commit workflow and avoid running a separate query to the database to get the updated row at a later stage.