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

Returns the total number of records in the Grid

$
0
0

Good afternoon,

I'm trying from inside the quotation, take the amount of items Quotation Products grid, I'm utillizando the code below, but to run it appears the "undefined error" message, the code was what I found in the SDK.

And the grid has two records

function test()
{
       var filteredRecordCount = Xrm.Page.getControl("Produtos").getGrid().getTotalRecordCount();
      alert(filteredRecordCount);
}


Thank you


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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