Hello, I have the same problem, I tried the following code and run.
function onLoad() {
setTimeout("refresh();", 2500);
}
function refresh() {
Xrm.Page.getControl("contactopportunitiesgrid").addOnLoad(GridOnloadFunction);
}
var GridOnloadFunction = function () {
Xrm.Page.data.refresh(true);
};
But I have the following problem, the grid refreshes several times, when it should do so only once.
They know how I can control this?
*This post is locked for comments