Asked by:
Auto refresh grids view crm 2011

Question
-
Is there a way to do this that is cross browser compatible?Thursday, July 25, 2013 4:41 PM
All replies
-
You can refresh the grids using the javascript either in onload or onsave of the form based on the condition.
This is the code which can be used to do so
document.getElementById("yourGridName").control.refresh();
Friday, July 26, 2013 6:18 AM -
Note that this is unsupported JavaScriptSaturday, July 27, 2013 10:12 AM
-
I have tried this and did not work. What I want is say 'Active Cases' or any other view to refresh every number of seconds or minutes.
Thanks a lot
Monday, July 29, 2013 8:03 AM -
Even I have a requirement to automatically refresh the OOTB view every number of seconds or minutes.
Below is the code I have to refresh the OOTB view, however it refreshed all the OOTb views which are opened. My requirement is to refresh only Particular view. Please let me know if any body has the solution.
Thanks in Advance.
var seconds = 2;
/*
* @param {int} inSeconds: how often the view should refresh in seconds
* */
(function (inSeconds) {
var interval = setInterval(function () {
document.getElementById("crmGrid").control.refresh();
}, inSeconds * 1000);
}(seconds));
// The line to refresh the grid is not supportedThursday, October 2, 2014 12:53 AM -
Hi,
Could you please let me know where you are calling this javascript. I am able to able to perform the above action on opening the record. Is it possible to autorefresh the view without opening the record.
And also I am facing the issue to refresh the particular view.
Tuesday, October 7, 2014 10:32 PM