function LoadSubGrid(SubGridName) { var grid = document.getElementById(SubGridName); if (grid) { if (grid.readyState == "complete") { grid.Refresh(); } } }Code snippet 2 :
function LoadSubGrid(SubGridName) { var grid = Xrm.Page.ui.controls.get("SubGridName") if (grid) { if (grid.readyState == "complete") { grid.Refresh(); } } }
No comments:
Post a Comment