简体   繁体   English

MS Dynamics CRM 2013子网格与其添加按钮重叠

[英]Ms dynamics crm 2013 subgrid overlap with its add button

In Ms dynamics crm 2013 when we hide and show a subgrid using JavaScript visible function then subgrid's add button overlap with subgrid. 在Ms dynamics crm 2013中,当我们使用JavaScript可见函数隐藏和显示子网格时,子网格的添加按钮与子网格重叠。 Is there any way to resolve this issue. 有什么办法可以解决此问题。

You want to find the schema name of the sub grid. 您要查找子网格的架构名称。 You can do this by opening the form editor and then double clicking on the specific sub-grid. 您可以通过打开表单编辑器,然后双击特定的子网格来执行此操作。 这是一个例子

To hide the sub-grid, you want to make sure to use supported JavaScript. 要隐藏子网格,您需要确保使用受支持的JavaScript。 To hide: 隐藏:

Xrm.Page.ui.controls.get('ProjectRisks').setVisible(false);

To show: 显示:

Xrm.Page.ui.controls.get('ProjectRisks').setVisible(false);

When testing, these worked fine for me. 测试时,这些对我来说很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM