javascript - CRM 2011 RollUp 12 refresh grid - Stack Overflow

Since the rollup 12 update we can't use this javascript code anymore to refresh gridfrom ribbon bu

Since the rollup 12 update we can't use this javascript code anymore to refresh grid

from ribbon button onClick (ribbon on grid page)

window.document.all.crmGrid.Refresh();

or from ribbon button onClick (ribbon on homepage) to refresh parent grid

window.top.opener.document.getElementById('crmGrid').Refresh();

How we should refresh grid now?

Since the rollup 12 update we can't use this javascript code anymore to refresh grid

from ribbon button onClick (ribbon on grid page)

window.document.all.crmGrid.Refresh();

or from ribbon button onClick (ribbon on homepage) to refresh parent grid

window.top.opener.document.getElementById('crmGrid').Refresh();

How we should refresh grid now?

Share Improve this question asked Feb 13, 2013 at 13:25 GennadyGennady 411 silver badge7 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 7

It no longer works because the method you were using was unsupported. I assume that you are referring to updating a subgrid on a form. The correct way to refresh a grid is to use the refresh method of the grid control as documented here

Suppose you need to refresh form and Maingrid(from where record was opened).

//Refreshing form

window.location.reload(true);

//Refreshing Maingrid

window.parent.opener.document.getElementById("crmGrid").control.refresh();

I have tried in CRM Online(update Roll 12).

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745063256a4609097.html

相关推荐

  • javascript - CRM 2011 RollUp 12 refresh grid - Stack Overflow

    Since the rollup 12 update we can't use this javascript code anymore to refresh gridfrom ribbon bu

    17小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信