web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Power Up Program Community
Unanswered

Refresh subgrid chart using JavaScript

(1) ShareShare
ReportReport
Posted on by 306
Hi, 
 
I have a subgrid on a form, which I want to refresh using JavaScript when a custom page is closed. When the subgrid is shown as a 'normal' subgrid (not a chart) on the form, it refreshes as expected. However, If select 'Show chart only', the chart is not refreshed by the JavaScript. The user has to hit the refresh button to see the new records in the chart.  
 
This is the JavaScript I use to refresh the subgrid:
formContext.getControl("SubgridName").refresh();
 
 
 
The weird thing is, that I am 100% sure this was working at one point, because I demoed the functionality for my colleagues where the chart refreshed when the custom page was closed.
 
Is there any other way, to refresh a subgrid or chart? Or could this potentially be a bug?
 
Any help is appreciated. 
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Microsoft Power Up Program Community

#1
timl Profile Picture

timl 11 Super User 2026 Season 1

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 6 Super User 2026 Season 1

#3
CU01020137-0 Profile Picture

CU01020137-0 3

Last 30 days Overall leaderboard

Featured topics

Introduce yourself!