Refresh web part without refreshing page in SharePoint
The following code shows how to refresh web part without refreshing page in SharePoint.
// Set Ajax refresh context var eventAjax = { currentCtx: ctx, csrAjaxRefresh: true }; // Initiate Ajax Refresh on the list AJAXRefreshView(eventAjax, SP.UI.DialogResult.OK);