Tuesday, 31 March 2015

Refresh all subgrids on a form

RefreshAllSubGrids: function () { Xrm.Page.ui.controls.forEach( function (control, index) { if (control.getControlType() == "subgrid") { control.refresh(); } } ); }

No comments:

Post a Comment