Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 79901

Why does the AddExistingAssoc button not appear after the dynamic CRM subgrid control writes the addLoad event?

$
0
0

I want to listen subgrid can only add one data, after I use addOnLoad, the AddExistingAssoc button is hidden, but I don't want it to be hidden, I am confused for a long time why the AddExistingAssoc button is hidden,There is no clear answer.I need your help. Thank you

This is my code:

function onLoad() {
var _rowCount = Xrm.Page.getControl("subgrid").getGrid().getTotalRecordCount();
Xrm.Page.getControl("subgrid").addOnLoad(onGridLoad);
}

steps:

1. A sub-grid is a many-to-many situation

2. The ribbon shields other new buttons. Only AddExistingAssoc buttons are open

3. No JS control button

4. The addOnLoad button is still blocked

Image:


Viewing all articles
Browse latest Browse all 79901


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>