I have a requirement to Display a Subgrid of Contact (Parent) Address on a child record,
So I decided to go with the Quick View Form, however when the Look up is changed I need to refresh the Quick View form even thou the system refreshes it automatically.
But there is no change in the Subgrid.
I have written a javascript function.
function refreshQuickView() { var quickViewControl = Xrm.Page.ui.quickForms.get("ContactAddress"); if (quickViewControl != null) { setTimeout(function () { quickViewControl.refresh(); }, 900); } }
I also tried this to make is easier.
function refreshQuickView() { var quickViewControl = Xrm.Page.ui.quickForms.get("ContactAddress"); quickViewControl.refresh(); }
But the only refresh I see is the system refresh.
How can I make the refresh effective so I can see the correct sub-grid records when the contact look up is changed.
*This post is locked for comments