Skip to content

Grid Refresh Grid from open Dialog

Victor Tomaili edited this page May 3, 2021 · 1 revision

Basic Building Blocks Series: Within the basic building blocks series over time I will add all the little things which someone who just starts with Serenity Framework would have to spend a lot of time figuring it out him/herself.

What you get with this article:

Refresh the grid from within an open dialog. (this is for a typescript serenity project)

This is quite simple but was not easy to find neither within the demo project, the Documentation nor within the forum:

Wherever - within your continually open dialog (not just at the closing of the dialog) - you want to refresh the grid which is under it, use the following command:

Serenity.SubDialogHelper.triggerDataChange(this);
Clone this wiki locally