function GridRefresh () { alert("The grid has refreshed."); } document.all.crmGrid.attachEvent("onrefresh", GridRefresh);
UPDATE: I discovered recently that this event will not be triggered in the event of a view change. As near as I can tell, there is no event that is triggered when the view is changed.