tsalb/lwc-utils

SOQL Datatable on Flexipage - refresh data when flow modal closes

solo-1234 opened this issue · 1 comments

Is there a way to have a datatable refresh its data when a flow modal closes (or alternatively, when the flow in the modal updates a record in the datatable)?

I display a list of contacts and my user can click a row action to open a modal to view/edit more fields. If they edit a field and then close the modal, the datatable still shows the old data. Wondering if there's a trick to force it to reload the data (maybe even just the data in those rows).

TIA

tsalb commented

Forgot to close this out - we synced on discord and for posterity adding our resolution here:

https://github.com/tsalb/lwc-utils/wiki/EventPublisher#examples