How to retrieve the Selected Record Ids of a subgrid in Dynamics CRM 2011 using Javascript.

To retrieve the selected records of a subgrid in dynamics crm 2011 just write down below code in your javascript function.

var accountContactsGrid= document.getElementById("accountContactsGrid").control;
var selectedids = gridControl.get_selectedIds();
This entry was posted in MS CRM 2011 and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *