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 Clear Cache in Canvas PowerApps while working on Offline mode?

  Introduction In this blog, we’ll look at how to clear cache in Canvas Apps when using the Power Apps mobile application, especially when t...