Saturday, 23 November 2013

Read Selected Sub grid Records MS CRM 2013 Using JavaScript !!!

Sometimes we have requirements to play with selected sub-grid records using client side scripting.
Here is same code to read selected sub-grids records :

function ReadSelectedSubGridRecords() {
        if (document.getElementById("SubGridName")) {
        var grid = document.getElementById("SubGridName").control;
        for (var row = 0; row < grid.get_selectedRecords().length; row++)

No comments:

Post a Comment