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();
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.
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 *