Thursday, September 19, 2019

Trigger Javascript on Sub-Grid

Dear All,

Today we got a requirement to trigger Javascript on Add or Delete Value from Subgrid.

Please find the code below for the same

var contactsSubgrid = Xrm.Page.getControl("Contact");

    var myContactsGridOnloadFunction = function () {
        //Trigger your function or Code here

    };

    contactsSubgrid.addOnLoad(myContactsGridOnloadFunction);

No comments:

Post a Comment

How to disable recently used records in lookup fields in CRM and Dataverse?

  Introduction: In this blog we will see how to disable recently used records lookup field values in MSCRM or Dataverse In my case, I want t...