In Ms dynamics crm 2013 when we hide and show a subgrid using JavaScript visible function then subgrid's add button overlap with subgrid. 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. 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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.