Hi,
I need help in resolving this issue, I have a subgrid where i am using javascript( copied from internet, as i don't know much) to refresh the data on the parent record and it works really well, however, i believe this is messing up the next page functionality as when i have more records that goes on 2 or 3rd page the next page arrow button doesn't do anything and stays on 1st page only.
Every other sub grid is working properly.
below is the script:
function Form_onLoad() {
setTimeout("SubGridRefresh();", 2500);
}
function SubGridRefresh() {
var grid = Xrm.Page.getControl("Characteristics");
if (grid) {
grid.addOnLoad(ReloadForm);
}
}
function ReloadForm() {
Xrm.Page.data.refresh(true);
}
Thanks,
PS